/* GRACE COMMUNITY CHURCH: assets/site.css
   Shared by every page (index, give, contact, graceonwheels). Moved out of index.html so the pages share one copy. */
/* Layout: flyer logic at page scale. Cream sheets carry the reading, black bands carry
   times and places, one tilted yellow block per screen carries the emphasis. */
/* =====================================================================================
   CSS TABLE OF CONTENTS (search for the heading text in quotes)
     "Design tokens"          colours, fonts, logo shapes (the two long data: lines), spacing
     "Base"                   reset, links, focus outline
     "Page background photo"  the fixed photo behind the whole page
     "Buttons"                .btn and .btn.quiet
     "Gaps the church..."     .todo placeholder boxes
     "Social icons"
     "Header"                 sticky header, nav, mobile menu (max-width: 1200px)
     "Hero carousel"          slides, ticket card, the black strip under the hero
     "Sections"               shared section spacing and headings
     "Latest sermon"          video box and poster
     "Bible study panel"
     "Upcoming service cards"
     "About accordions"       values row, pastor letter
     "Ministries"             Ways to serve, food drive
     "Gallery"                flyer tiles and the lightbox
     "Visit"                  service times, FAQ, What to expect
     "Footer"                 map, contact, links
   Breakpoints used: 1200px (mobile menu), 860px (hero/sermon stack), 820/760/720/700px,
   640/600/560/520px, 480px and 380px (small phones).
   ===================================================================================== */
/* ---------- Design tokens ---------- */
:root {
  color-scheme: only light; /* always the cream look, even on devices set to dark mode */
  --paper: #fbf6ec;
  --paper-2: #efe4d0;
  --card: #fffaf2;
  --ink: #121110;
  --ink-soft: #46413b;
  --edge: #121110;
  --line: #d9cdb6;
  --sun: #ffc324;
  --on-sun: #121110;
  --band: #121110;
  --band-2: #1e1c19;
  --on-band: #fbf6ec;
  --on-band-soft: #d8d0c0;
  --ring: #121110;

  --display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --tall: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --serif: Georgia, "Times New Roman", serif;  /* system serif: no web font needed for the few quotes */

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  /* Logo shapes, used as masks so they take the text colour. Retraced from the high-res logo PNG;
     the same drawings are saved as images/logo/emblem.svg and wordmark.svg. */
  --emblem: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 924 1026'%3E%3Cpath fill-rule='evenodd' d='M488 1023l-48 1-42-4-42-8-23-7-19-6-24-9-21-9-20-10-18-9-18-12-19-13-16-12-18-15-17-15-18-18-16-18-12-15-13-18-15-23-12-21-9-18-8-17-10-25-7-21-6-21-5-21-4-22-3-22-2-25-1-25 1-26 3-34 7-40 11-41 15-40 10-22 10-19 20-33 24-33 16-19 15-15 30-28 32-25 34-22 36-19 18-8 23-9 21-7 22-6 22-5 20-3v1l-21 78-2 2-29 8-22 8-18 8-24 12-20 12-22 15-19 15-17 15-15 14-16 18-15 19-15 22-13 22-11 22-9 21-8 22-7 24-5 22-4 26-2 21-1 26 1 27 3 28 5 23h131v-171l160-159 23-89v-2l-10-2 2-4 9-22 10-1 26-83 2-1h8v-1v-56l-26-1v-26v-1h1h25v-1l1-20h28l1 20v1h26v27l-26 1v56v1h12l25 84 9 1 2 1 9 25-1 1h-6v1l3 30v1h118h35l2-1-30-19-35-18-33-13-36-11-1-3-6-28-12-45v-3l25 4 25 6 26 8 27 10 25 11 25 13 22 13 25 17 17 13 20 17 18 17 18 18 16 19 18 24 15 23 11 19 11 21 11 25 10 26 7 23 6 23 5 25 4 28 2 25v26v25l-4 40-8 42-12 41-9 24-9 21-10 20-10 18-11 18-13 19-12 16-15 18-17 18-16 15-18 16-15 12-19 14-20 13-17 10-23 13-22 10-20 7-41 14-25 5-22 4-23 4zM634 642v-138l-172-172h-1l-171 172 1 139 78-1v-106h2h73l1 106h36v-106h75v106zM466 487h-8l-9-1-8-4-6-3-6-6-7-8-4-9-2-9v-12l1-6 3-8 5-8 8-8 8-5 8-3 9-2h7l10 2 8 3 8 5 6 7 6 7 3 7 2 9v12l-1 6-3 8-5 8-7 7-8 6-9 4zM150 786l79-69-12-1h-107l-1 2 5 11 13 25 19 30 3 3zM299 912l69-194v-1h-24l-145 126-1 1 25 22 26 19 28 17 17 8 5 3zM488 948l19-2 20-2 24-5 3-2-77-219-2-1h-26l-2 1-77 219 2 1 19 4 35 5 31 2zM626 912l28-14 24-16 23-17 25-21-146-127h-24l1 4 65 184 3 7zM776 786l10-14 12-20 11-21 6-14h-1h-119l79 70h1z'/%3E%3C/svg%3E");
  --wordmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2587 347'%3E%3Cpath fill-rule='evenodd' d='M103 187h-23l-11-1-10-2-9-3-10-5-8-6-7-7-8-11-7-14-5-16-2-11-1-15 1-17 2-12 3-12 5-11 6-10 4-5 4-5 10-9 12-7 16-4 18-2h24l18 3 11 3 7 5 5 3 7 8 8 14 5 13v2h-1l-48 9h-1l-3-8-4-4-4-4-9-4-11-1-9 2-6 3-7 7-5 8-4 12-2 14v15l3 18 3 9 4 5 6 7 5 3 6 2 7 1h8l6-1 7-2 7-3 8-5 1-2v-13l-1-2h-31h-2v-35l1-2 77-1h1l1 2-1 75-20 14-14 7-15 5zM647 187h-24l-10-1-16-4-12-6-10-8-11-14-8-15-5-14-3-16v-28l4-21 5-14 7-14 12-13 13-9 7-3 13-3 14-2h20l16 3 13 4 8 5 5 4 8 10 7 11 7 18v1l-3 1-42 10-5-11-5-7-5-4-4-2-10-2-8 1-7 3-7 6-6 8-3 8-2 10-1 15 1 17 2 10 4 10 5 6 5 4 7 3 9 1 8-1 7-3 6-6 4-5 4-10 3-10 41 13 3 1 1 2-3 10-6 14-5 9-6 8-9 8-10 6-8 3zM1068 187h-25l-15-2-15-5-10-6-11-11-10-14-6-13-5-19-1-8v-15v-13l1-9 4-18 6-14 5-8 5-6 6-7 7-5 13-7 17-4 17-1 19 1 13 2 12 5 11 8 9 11 9 14 5 14-1 1-3 1-41 10-1-1-3-9-7-8-5-4-4-2-10-2-8 1-7 3-7 7-5 7-3 9-2 10-1 14 1 16 2 11 3 9 3 4 4 5 3 2 7 3 10 1 10-2 6-3 5-5 4-5 4-10 2-9 1-1 43 14 2 2-3 10-7 15-5 8-8 10-10 8-7 4-8 3zM1248 186l-23 1-16-2-13-4-13-7-11-10-8-10-8-15-5-15-2-12-1-14 1-21 2-12 3-10 6-14 5-8 6-7 5-6 8-6 13-6 9-3 9-2 20-1 18 1 17 4 14 7 13 12 9 12 7 15 5 16 1 14 1 10-3 27-4 15-3 8-5 9-9 12-6 6-10 7-8 4-9 3zM542 184h-53l-1-3-7-25-1-1h-56h-1l-8 29h-109l-2-3-28-55-3-6-5-5-4-2-4-1h-6h-1v1l-1 70-51 1v-179l89-1 17 1 11 2 8 3 8 6 4 4 5 7 3 6 4 13v18l-3 10-3 7-3 5-8 9-8 5-12 5v1l8 3 4 3 11 15 25 50 2 4 61-175 1-2h55l1 2 60 173 1 3zM872 184l-139-1-1-175v-2l1-1 135-1 2 1v38l-85 1v27h77l1 1 1 34-1 2h-1l-77 1-1 1v31l2 2h86v1v38zM1531 184l-42-1v-128l-1 2-30 126h-39l-30-127-1-1v128l-42 1v-179h67l24 99 2 7 25-106 1-1 66 1 1 3v173zM1748 184l-42-1v-128l-31 128-38 1-31-130-1 2v127h-42v-176v-2h67l1 2 25 104 25-104 1-2h66l1 2v174v2zM1878 186l-29 1-16-2-11-3-7-3-10-7-11-12-5-8-3-7-3-12-2-9-1-11v-106l2-3 50 1v116l2 7 6 8 4 4 5 3 11 2 11-2 7-4 3-4 3-4 3-9 1-116 1-2 50 1v2v112l-1 9-3 13-3 7-6 11-6 8-10 9-5 3-9 4-12 3zM2130 184l-48-1-61-95v95h-48l-1-176 1-2h47l61 96 1-95 1-2 47 1zM2217 183h-51v-175v-3l50-1 1 2zM2344 184l-50-1-1-133-50-1h-1l-1-42 1-2 154-1 1 2v43h-2l-50 1v131v2zM2518 184l-51-1-1-74-61-100-2-3 1-1 54-1 2 1 31 56 2 2 33-58h56v1l-7 12-56 91v73zM277 77l12-3 4-2 2-3 3-5v-5v-5l-3-5-4-5-6-2-6-1h-26v36zM1238 144h4l6-2 5-3 6-6 2-3 4-8 2-9 1-8v-23l-2-11-3-8-5-7-4-4-6-5-5-2-5-1h-9l-8 2-7 5-5 5-3 5-3 8-2 8-1 8v20l3 16 3 8 3 4 6 5 7 5 10 2zM469 115l-17-61-17 61zM970 344l-12 1-7-1-6-2-8-5-6-6-5-7-4-9-2-8-1-11 1-10 2-9 4-8 4-6 6-6 8-5 9-3 10-1 8 1 6 1 7 3 5 3 7 6 3 4 3 9v4l-1 1h-15l-3-8-5-5-7-4-9-1-7 1-5 2-6 5-5 8-3 12v12l1 7 5 11 5 5 4 4 5 2h7l9-1 7-5 4-5 3-8v-4l1-1h14l2 1-1 7-3 8-3 6-5 5-6 5-5 3zM1492 344l-13 1-6-1-6-2-9-5-7-7-4-7-4-9-2-8-1-10 1-9 2-8 4-10 5-7 7-6 7-4 9-3 9-1 9 1 13 4 6 4 6 7 4 8 1 6v2h-16l-4-9-4-5-6-3-8-1-8 1-5 2-5 4-3 3-3 5-3 9-1 7 1 13 2 7 3 6 4 6 5 3 6 3h6l9-1 4-2 5-6 3-6 3-9h14l2 1-2 8-2 6-3 6-4 5-8 7-6 3zM1128 343l-15-1-1-40-1-1-40 1v40h-16v-91h14h2v35l1 1 40-1v-35h1h15l1 1v90zM1231 344l-15 1-10-2-6-3-5-4-4-5-3-5-2-7-1-8v-60h15h1v52l1 10 1 5 4 7 3 3 4 2 8 1 8-1 5-2 6-6 2-4 1-5v-9v-53h1h14h2v58l-1 10-2 4-3 8-7 7-9 4zM1394 343h-17l-2-7-1-13-1-7-2-5-3-3-3-2-9-1h-23v37h-16v-91h53l7 2 4 2 6 6 4 7v7l-1 8-3 7-2 3-4 4-3 1 7 5 4 6 1 4 1 19 1 4 3 6zM1650 342h-17v-40v-1h-1h-39l-1 1v40h-17l1-91h15h1v35l1 1h40v-36h1h15h1zM1366 291l5-3 2-3 1-4v-8l-2-4-2-2-3-2-8-1h-26v27l1 1h25z'/%3E%3C/svg%3E");
}

/* ---------- Base: reset, links, focus outline ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html:not(.js) [data-from] { display: none !important; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
/* Orphans and widows: headings, labels and short lines break into even lines; body copy never
   leaves one word alone on its last line. Times, dates and street addresses use non-breaking
   spaces in the markup (&nbsp;) so "9 AM", "Dec 5" and "725 S 5th St" never split. */
h1, h2, h3, h4, .when, .date, .label, .tag, .what, .where, .lede, .ref, .min h3, .volunteer h3, dt { text-wrap: balance; }
p, li, dd, address, blockquote, figcaption { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
button { font: inherit; color: inherit; }

/* Page background photo: fixed to the screen, so it stays put while the page scrolls.
   A cream layer at 85% sits over it. Set the image in SITE.pageImage. */
.has-page-bg body::before, .has-page-bg body::after { content: ""; position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; }
.has-page-bg body::before { background: var(--page-image) center / cover no-repeat; }
@media (max-width: 700px) { .has-page-bg body::before { background-image: var(--page-image-small, var(--page-image)); } }
.has-page-bg body::after { background: var(--paper); opacity: .85; }
.has-page-bg .hero { background: transparent; }
.has-page-bg .section.tint { background: linear-gradient(rgba(239, 228, 208, .6), rgba(239, 228, 208, 0)); }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.band { background: var(--band); color: var(--on-band); --ring: var(--sun); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--sun); color: var(--on-sun); padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

.label {
  font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}
.emblem, .lockup { display: block; background: currentColor; }
.emblem { aspect-ratio: 924 / 1026; -webkit-mask: var(--emblem) center / contain no-repeat; mask: var(--emblem) center / contain no-repeat; }
/* The full lockup (footer) is the emblem stacked over the wordmark: two mask layers, no third copy of the artwork.
   49.64% / 35.717% place and size the emblem exactly as in the original lockup artwork. */
.lockup { aspect-ratio: 2587 / 1479;
  -webkit-mask: var(--emblem) 49.64% 0 / 35.717% auto no-repeat, var(--wordmark) 0 100% / 100% auto no-repeat;
          mask: var(--emblem) 49.64% 0 / 35.717% auto no-repeat, var(--wordmark) 0 100% / 100% auto no-repeat; }

/* Browsers without aspect-ratio (Safari 14 and older) */
@supports not (aspect-ratio: 1 / 1) {
  .brand .emblem { height: 49px; } .wordmark { width: 224px; } .hero-emblem { height: 333px; }
  .foot-brand .lockup { height: 149px; } .video { height: 0; padding-top: 56.25%; } .photo-slot { min-height: 340px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  background: var(--sun); color: var(--on-sun); border: 3px solid var(--on-sun);
  font-weight: 700; font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn.quiet:hover { background: var(--ink); color: var(--paper); transform: none; }
.band .btn { border-color: var(--sun); box-shadow: none; }
.band .btn:hover { background: var(--on-band); border-color: var(--on-band); transform: none; }
.band .btn.quiet { color: var(--on-band); border-color: var(--on-band); background: transparent; }
.band .btn.quiet:hover { background: var(--on-band); color: var(--band); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: transform .12s, box-shadow .12s, background .12s; } }

/* Gaps the church still needs to fill in */
.todo {
  border: 2px dashed currentColor; padding: 14px 16px; display: grid; gap: 4px;
  font-size: .9375rem; line-height: 1.45;
}
.todo b { font-family: var(--marker); font-weight: 400; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.todo.inline { display: inline-block; padding: 2px 10px; font-size: .875rem; }

/* Social icons */
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: var(--paper); border: 2px solid var(--ink); }
.band .social a { background: var(--on-band); color: var(--band); border-color: var(--on-band); }
.social a:hover, .band .social a:hover { background: var(--sun); color: var(--on-sun); border-color: var(--sun); }
.social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.site-nav .soc-li { margin-left: 8px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 3px solid var(--ink);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand .emblem { width: 44px; flex: none; }
.wordmark { display: block; height: 30px; aspect-ratio: 2587 / 347; flex: none; background: currentColor; -webkit-mask: var(--wordmark) center / contain no-repeat; mask: var(--wordmark) center / contain no-repeat; }
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 6px 14px;
  background: var(--ink); color: var(--paper); border: 0; cursor: pointer;
  font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .1em;
}
.nav-toggle .bars { width: 20px; height: 14px; border-block: 2px solid currentColor; position: relative; }
.nav-toggle .bars::after { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid currentColor; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav .m-only { display: none; }
/* Mobile-only words and the Bible study button; on desktop the links keep their original order */
.site-nav .m-txt, .site-nav .bs-cta { display: none; }
.soc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (min-width: 1201px) {
  .site-nav .d-1 { order: 1; } .site-nav .d-2 { order: 2; } .site-nav .d-3 { order: 3; } .site-nav .d-4 { order: 4; }
  .site-nav .d-5 { order: 5; } .site-nav .d-6 { order: 6; } .site-nav .d-7 { order: 7; }
}
.site-nav li > a {
  display: block; padding: 10px 9px; white-space: nowrap; text-decoration: none;
  font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .08em;
}
.site-nav li > a:not(.btn):hover, .site-nav li > a[aria-current] { box-shadow: inset 0 -4px 0 var(--sun); }
.site-nav .btn { min-height: 40px; padding: 6px 16px; margin-left: 8px; box-shadow: none; }
.site-nav .btn:hover { transform: none; box-shadow: none; background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 1200px) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--ink); padding: 8px var(--gutter) 20px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .m-only { display: block; }
  .site-nav .m-txt { display: inline; }
  .site-nav .bs-cta { display: inline-flex; flex: 1 1 150px; padding-inline: 14px; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav li > a { padding: 14px 4px; font-size: 1rem; }
  .site-nav .soc-li { padding-block: 14px 4px; }
  .site-nav .social a { width: 48px; height: 48px; }
  .site-nav .give-li { border-top: 0; padding-top: 12px; }
  .site-nav .btn { margin-left: 0; min-height: 48px; }
  .js .site-nav:not(.open) { display: none; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .site-nav { position: static; border: 0; padding: 0 0 12px; flex-basis: 100%; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
}
@media (max-width: 480px) { .wordmark { height: 24px; } .brand { gap: 8px; } .brand .emblem { width: 36px; } }
@media (max-width: 380px) { .wordmark { height: 20px; } .brand .emblem { width: 32px; } }

/* Hero carousel: slides share one grid cell so the hero never changes height */
.hero { background: linear-gradient(var(--paper), var(--paper-2)); overflow-x: hidden; overflow-x: clip; }
.hero { --hero-overlay: var(--paper); }
.hero.dark .hero-stage { --hero-overlay: var(--band); --paper: var(--band); --ink: var(--on-band); --ink-soft: var(--on-band-soft); --ring: var(--sun); color: var(--ink); }
.hero.dark .hero-stage .btn { box-shadow: none; border-color: var(--sun); }
.hero.dark .hero-stage .btn.quiet { border-color: var(--ink); }
.hero.dark .ticket { outline: 2px solid var(--sun); }
.hero-stage { position: relative; }
.hero-bgs { position: absolute; inset: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; }
.hero-bg.is-active { opacity: 1; }
.hero-bg.has-img::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); opacity: .85; }
@media (prefers-reduced-motion: no-preference) { .hero-bg { transition: opacity .6s ease; } }
.hero-inner { position: relative; padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 32px); }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(28px, 5vw, 56px); align-items: center;
}
.js .slide:not(.is-active) { visibility: hidden; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .slide { transition: opacity .5s ease, visibility 0s linear .5s; }
  .js .slide.is-active { transition: opacity .5s ease; }
}
html:not(.js) .slide { grid-area: auto; }
html:not(.js) .slides { gap: 56px; }
.hero-copy { container-type: inline-size; min-width: 0; }
.hero-h { display: grid; gap: 18px; }
.h1-name { font-family: var(--body); font-size: .875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.h1-motto { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 5.2vw, 4.25rem); line-height: 1; white-space: nowrap; letter-spacing: -.02em; display: grid; justify-items: start; gap: .06em; }
.h1-motto .hl { background: var(--sun); color: var(--on-sun); padding: .04em .22em .08em; margin-left: -.12em; transform: rotate(-2deg); transform-origin: left center; }
@media (max-width: 860px) { .h1-motto { font-size: clamp(1.5rem, 8.4vw, 3.25rem); } }
@supports (width: 1cqi) { .h1-motto { font-size: clamp(1.5rem, 9.6cqi, 5rem); } }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 34em; margin-top: 30px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.zoom-id { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 14px; font-size: .9375rem; font-weight: 600; }
.zoom-id b { font-family: var(--tall); font-weight: 400; font-size: 1.25rem; letter-spacing: .03em; margin-left: 4px; user-select: all; }
.hero-emblem { width: min(300px, 100%); justify-self: end; }
.hero-ctl { display: flex; align-items: center; gap: 6px; margin-top: clamp(24px, 4vw, 44px); flex-wrap: wrap; }
html:not(.js) .hero-ctl { display: none; }
.hero-ctl button { min-width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 2px solid var(--ink); cursor: pointer; padding: 0; }
.hero-ctl button:hover { background: var(--ink); color: var(--paper); }
.hero-ctl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-ctl .dots { display: flex; margin-inline: 6px; }
.hero-ctl .dots button { border: 0; min-width: 36px; }
.hero-ctl .dots button:hover { background: transparent; }
.hero-ctl .dots button::before { content: ""; width: 14px; height: 14px; border: 2px solid var(--ink); }
.hero-ctl .dots button:hover::before { background: var(--ink); }
.hero-ctl .dots button[aria-current="true"]::before { width: 30px; background: var(--sun); }

.ticket {
  background: var(--band); color: var(--on-band); --ring: var(--sun);
  padding: 28px 26px 30px; display: grid; gap: 10px; justify-items: start;
  transform: rotate(2deg); box-shadow: 12px 12px 0 var(--sun);
  max-width: 380px; justify-self: end; width: 100%;
}
.ticket .tag { font-family: var(--marker); background: var(--sun); color: var(--on-sun); padding: 2px 14px; font-size: 1.25rem; transform: rotate(-3deg); margin-bottom: 6px; }
.ticket .when { font-family: var(--tall); font-size: clamp(4rem, 9vw, 5.5rem); line-height: 1; color: var(--sun); text-transform: uppercase; letter-spacing: .01em; }
.ticket .time { font-family: var(--tall); font-size: 1.75rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.ticket .what { font-family: var(--display); font-size: 1.375rem; line-height: 1.15; text-transform: uppercase; }
.ticket p.where { color: var(--on-band-soft); font-size: 1rem; }
.ticket a { font-weight: 700; margin-top: 6px; }

.strip .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 26px; }
.strip .cell { padding-inline: clamp(12px, 3vw, 36px); display: grid; gap: 2px; align-content: center; }
.strip .cell + .cell { border-left: 3px solid var(--sun); }
.strip .cell:first-child { padding-left: 0; }
.strip .label { color: var(--sun); }
.strip .big { font-family: var(--tall); font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.05; text-transform: uppercase; }
.strip .small { color: var(--on-band-soft); font-size: .9375rem; }
.strip a.cell { text-decoration: none; }
.strip a.cell:hover .big { color: var(--sun); }
.strip a.cell .small { text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.strip .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; align-content: center; }
.strip .acts .btn { min-height: 46px; padding: 8px 18px; }
@media (max-width: 860px) {
  .slide { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; }
  .hero-emblem { display: none; }
  .hero-inner { padding-block: 28px 18px; }
  .hero-h { gap: 12px; }
  .lede { margin-top: 18px; font-size: 1rem; line-height: 1.5; }
  .actions { margin-top: 18px; gap: 10px; }
  .hero-ctl { margin-top: 20px; }
  /* the date card becomes a one-line tag */
  .ticket { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 14px; transform: none; box-shadow: 5px 5px 0 var(--sun); width: auto; max-width: 100%; justify-self: start; }
  .ticket .tag { font-size: 1rem; padding: 0 10px; margin: 0; transform: rotate(-2deg); }
  .ticket .when { font-size: 2rem; }
  .ticket .time { font-size: 1.25rem; margin: 0; }
  .ticket .what, .ticket .where { display: none; }
  .zoom-id { margin-top: 10px; font-size: .875rem; gap: 2px 16px; }
  .zoom-id b { font-size: 1.0625rem; }
  .strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 16px; }
  .strip .cell { padding-inline: 14px; }
  .strip .cell:first-child { padding-left: 0; }
  .strip .big { font-size: 1.75rem; }
  .strip .small { font-size: .8125rem; line-height: 1.35; }
  .strip .label { font-size: .6875rem; letter-spacing: .1em; }
  .strip .acts { grid-column: 1 / -1; padding: 14px 0 0; margin-top: 14px; border-left: 0; border-top: 3px solid var(--sun); }
  .strip .acts .btn { flex: 1 1 140px; font-size: .8125rem; letter-spacing: .04em; padding: 8px 8px; white-space: nowrap; }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tint { background: linear-gradient(var(--paper-2), var(--paper)); }
.band.section { border-top: 8px solid var(--sun); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 46rem; }
.section-head h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 5.4vw, 3.5rem); line-height: 1; letter-spacing: -.015em; text-wrap: balance; }
.section-head p { color: var(--ink-soft); font-size: 1.125rem; }
.band .section-head p { color: var(--on-band-soft); }

/* Latest sermon */
.sermon { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.video { aspect-ratio: 16 / 9; max-width: 100%; background: var(--band); border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--sun); position: relative; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; display: block; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-poster .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--sun); border: 3px solid var(--on-sun); display: grid; place-items: center; box-shadow: 6px 6px 0 var(--on-sun); }
.video-poster:hover .play { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--on-sun); }
.video-poster .play svg { width: 40px; height: 40px; fill: var(--on-sun); }
.video-poster .host { position: absolute; left: 0; top: 0; background: var(--band); color: var(--on-band); padding: 6px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sermon-copy { display: grid; gap: 14px; justify-items: start; }
.sermon-copy .label { color: var(--ink-soft); }
.sermon-copy h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.sermon-copy .ref { font-family: var(--tall); font-size: 1.375rem; text-transform: uppercase; letter-spacing: .02em; }
.sermon-copy p:not(.label):not(.ref) { color: var(--ink-soft); max-width: 40ch; }
.sermon-copy .actions { margin-top: 10px; }
@media (max-width: 860px) { .sermon { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .video { box-shadow: 6px 6px 0 var(--sun); } }

/* Bible study panel: details beside the series graphic, then last week's video */
.bs-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.bs-col { display: grid; gap: 16px; align-content: start; }
.bs-col p { max-width: 60ch; }
.bs-flyer { display: block; width: 100%; max-width: 400px; justify-self: end; border: 3px solid var(--edge); box-shadow: 8px 8px 0 var(--sun); }
.bs-flyer img { display: block; width: 100%; height: auto; }
.bs-watch { margin-top: 10px; padding-top: 30px; border-top: 3px solid var(--edge); }
.bs-title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
@media (max-width: 860px) {
  .bs-row { grid-template-columns: minmax(0, 1fr); }
  .bs-flyer { justify-self: start; }
}
@media (max-width: 480px) { .bs-flyer { box-shadow: 6px 6px 0 var(--sun); } }

/* Upcoming service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.svc { background: var(--card); border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--sun); display: flex; flex-direction: column; min-width: 0; }
.svc .date { background: var(--band); color: var(--sun); font-family: var(--tall); font-size: clamp(1.75rem, 3.4vw, 2.375rem); line-height: 1.1; text-transform: uppercase; text-align: center; padding: 14px 12px; letter-spacing: .01em; }
.svc .body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; flex: 1; }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.svc p { color: var(--ink-soft); }
.svc h3 + p { color: var(--ink); font-weight: 700; }
.svc address { font-style: normal; color: var(--ink-soft); }
.svc .go { font-weight: 700; margin-top: 4px; }
@media (max-width: 480px) { .cards { gap: 26px; } .svc { box-shadow: 6px 6px 0 var(--sun); } }

/* About accordions */
.acc { border: 3px solid var(--edge); background: var(--card); }
.acc + .acc { margin-top: 14px; }
.acc h3 { font: inherit; }
.acc-btn {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left;
  padding: 18px 22px; background: transparent; border: 0; cursor: pointer;
  font-family: var(--display); font-size: clamp(1.0625rem, 2.2vw, 1.3125rem); text-transform: uppercase; letter-spacing: .01em;
}
html:not(.js) .acc-btn { cursor: default; }
.acc-btn .pm { flex: none; width: 32px; height: 32px; background: var(--sun); position: relative; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 8px; right: 8px; top: 14.5px; height: 3px; background: var(--on-sun); }
.acc-btn .pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after, html:not(.js) .acc-btn .pm::after { transform: none; }
.acc-btn[aria-expanded="true"] { background: var(--band); color: var(--on-band); --ring: var(--sun); outline-offset: -6px; }
.acc-panel { padding: 26px 22px 30px; display: grid; gap: 18px; border-top: 3px solid var(--edge); }
.acc-panel > p { max-width: 65ch; }
.acc-panel > p.src { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--band); color: var(--on-band); }
.values li { padding: 20px 16px; text-align: center; display: grid; gap: 2px; }
.values li + li { border-left: 3px solid var(--sun); }
.values .label { color: var(--sun); }
.values strong { font-family: var(--tall); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.05; text-transform: uppercase; }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } .values li + li { border-left: 0; border-top: 3px solid var(--sun); } }
.creed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.creed li { background: var(--band); color: var(--on-band); border-left: 8px solid var(--sun); padding: 18px 22px 20px; display: grid; gap: 6px; align-content: start; }
.creed h4 { font-family: var(--display); font-weight: 400; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .02em; }
.creed q { font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1.4; color: var(--sun); }
@media (max-width: 640px) { .creed { grid-template-columns: minmax(0, 1fr); } }
.pastor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 36px; align-items: start; }
.pastor .col { display: grid; gap: 14px; }
.photo-slot { aspect-ratio: 4 / 5; max-width: 100%; border: 3px solid var(--edge); box-shadow: 8px 8px 0 var(--sun); overflow: hidden; background: var(--paper-2); }
.letter p { max-width: 62ch; }
.letter blockquote { margin: 4px 0; padding: 14px 20px; border-left: 8px solid var(--sun); background: var(--band); color: var(--sun); font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1.45; }
.letter cite { font-style: normal; font-family: var(--body); font-size: .875rem; color: var(--on-band-soft); white-space: nowrap; }
.letter .sign { font-family: var(--serif); font-style: italic; margin-top: 6px; }
.letter .sign strong { font-family: var(--display); font-style: normal; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .pastor { grid-template-columns: minmax(0, 1fr); } .photo-slot { max-width: 280px; order: -1; } }

/* Ministries */
#serve-empty { color: var(--on-band-soft); }
.min-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.min { background: var(--band-2); padding: 28px 26px 30px; display: grid; gap: 14px; align-content: start; min-width: 0; border-top: 4px solid var(--sun); }
.min.wide { grid-column: 1 / -1; }
.min-top { display: flex; align-items: center; gap: 16px; }
.min svg { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--sun); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.min h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.25rem, 2.6vw, 1.625rem); line-height: 1.1; text-transform: uppercase; }
.min .when { font-family: var(--tall); font-size: 1.75rem; line-height: 1.1; color: var(--sun); text-transform: uppercase; letter-spacing: .01em; }
.min p { color: var(--on-band-soft); max-width: 60ch; }
.min p strong { color: var(--on-band); }
.min .actions { margin-top: 6px; }
.food { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; margin-top: 6px; }
.food h4 { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--sun); margin-bottom: 12px; }
.items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.items li { background: var(--band); border-left: 6px solid var(--sun); padding: 10px 14px; font-weight: 700; }
.drops { display: grid; gap: 16px; }
.drops li { display: grid; gap: 2px; }
.drops strong { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1rem; }
.drops address { font-style: normal; color: var(--on-band-soft); }
.min .where { color: var(--on-band); font-weight: 700; }
.volunteer { margin-top: 28px; background: var(--sun); color: var(--ink); padding: 26px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 32px; align-items: center; }
.volunteer h3 { font-family: var(--tall); font-weight: 400; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1; text-transform: uppercase; }
.volunteer p { color: var(--ink); max-width: 62ch; }
.volunteer a:not(.btn) { color: var(--ink); font-weight: 700; }
.volunteer .actions { grid-column: 2; margin-top: 4px; }
.volunteer .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.volunteer .btn.quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (max-width: 760px) { .min-grid, .food { grid-template-columns: minmax(0, 1fr); } .volunteer { grid-template-columns: minmax(0, 1fr); } .volunteer .actions { grid-column: 1; } }
@media (max-width: 400px) { .items { grid-template-columns: minmax(0, 1fr); } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 40px); }
@media (max-width: 520px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery.single { grid-template-columns: minmax(0, 520px); }
.tile { display: block; width: 100%; padding: 0; margin: 0; border: 3px solid var(--edge); background: var(--card); cursor: zoom-in; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover, .tile:focus-visible { box-shadow: 8px 8px 0 var(--sun); }
html:not(.js) .tile { cursor: default; }
dialog.lightbox { border: 0; padding: 0; background: var(--band); color: var(--on-band); --ring: var(--sun); max-width: min(94vw, 1040px); max-height: 94vh; overflow: auto; }
dialog.lightbox::backdrop { background: rgba(8, 8, 7, .86); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; position: sticky; top: 0; background: var(--band); }
.lb-bar p { font-weight: 700; font-size: .9375rem; min-width: 0; }
.lb-btns { display: flex; gap: 8px; flex: none; }
.lb-btns button { min-width: 44px; min-height: 44px; padding: 0 14px; background: var(--sun); color: var(--on-sun); border: 0; cursor: pointer; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8125rem; }
.lightbox img { width: 100%; max-height: calc(94vh - 70px); object-fit: contain; }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.times { background: var(--card); border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--sun); }
.times h3 { background: var(--band); color: var(--sun); font-family: var(--tall); font-weight: 400; font-size: 2rem; text-transform: uppercase; padding: 12px 24px; letter-spacing: .01em; }
.times dl { padding: 8px 24px 18px; }
.times .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding-block: 16px; }
.times .row + .row { border-top: 1px solid var(--line); }
.times dt { font-weight: 700; }
.times dd.t { font-family: var(--tall); font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.times dd.w { grid-column: 1 / -1; color: var(--ink-soft); font-size: .9375rem; }
.faq { display: grid; gap: 26px; }
.faq h3 { font-family: var(--display); font-weight: 400; font-size: 1.1875rem; text-transform: uppercase; margin-bottom: 6px; }
.faq p { color: var(--ink-soft); max-width: 60ch; }
.meet { display: grid; gap: 12px; color: var(--ink-soft); max-width: 60ch; }
.meet li { padding-left: 14px; border-left: 4px solid var(--sun); }
.meet b { display: block; color: var(--ink); }
.expect { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 44px); border-top: 3px solid var(--edge); }
.expect h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3.4vw, 2.25rem); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 22px; }
.expect ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 40px; }
.expect li { padding-left: 16px; border-left: 4px solid var(--sun); color: var(--ink-soft); max-width: 58ch; }
.expect li b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.0625rem; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 720px) { .expect ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 820px) { .visit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .times { box-shadow: 6px 6px 0 var(--sun); } }

/* Footer */
.map-h { margin-top: 44px; }
.foot-map { position: relative; height: clamp(240px, 32vw, 340px); margin-top: 0; border: 3px solid var(--sun); background:
  linear-gradient(var(--band-2) 2px, transparent 2px) 0 0 / 100% 56px,
  linear-gradient(90deg, var(--band-2) 2px, transparent 2px) 0 0 / 72px 100%, var(--band); overflow: hidden; }
.foot-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; inset: 0; display: grid; place-items: center; text-decoration: none; outline-offset: -8px; }
.map-card { display: flex; align-items: center; gap: 14px; background: var(--sun); color: var(--on-sun); padding: 12px 20px 12px 14px; border: 3px solid var(--on-sun); box-shadow: 6px 6px 0 var(--on-sun); max-width: calc(100% - 32px); }
.map-card svg { width: 34px; height: 34px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.map-card > span { display: grid; line-height: 1.25; min-width: 0; }
.map-card b { font-family: var(--display); font-weight: 400; text-transform: uppercase; overflow-wrap: anywhere; }
.map-card i { font-style: normal; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 3px; }
.foot-map.live .map-link { inset: auto auto 14px 14px; display: block; max-width: calc(100% - 28px); outline-offset: 3px; }
.foot-map.live .map-card { max-width: 100%; }
.foot-map.live .map-card { padding: 8px 14px 8px 10px; box-shadow: 4px 4px 0 var(--on-sun); }
.foot-map.live .map-card svg { width: 26px; height: 26px; }
@media (max-width: 600px) {
  .foot-map { height: 320px; }
  .map-card { gap: 10px; padding: 8px 12px 8px 10px; }
  .map-card b { font-size: .8125rem; line-height: 1.25; }
  .map-card i { font-size: .6875rem; letter-spacing: .06em; line-height: 1.4; margin-top: 2px; }
  .foot-map.live .map-card svg { width: 22px; height: 22px; }
}
.site-footer { border-top: 8px solid var(--sun); padding-block: 56px 28px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-brand { display: grid; gap: 18px; justify-items: start; align-content: start; }
.foot-brand .lockup { width: min(260px, 100%); }
.foot-brand p { font-family: var(--marker); font-size: 1.125rem; color: var(--sun); }
.site-footer h2 { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--sun); margin-bottom: 14px; }
.contact { display: grid; gap: 14px; }
.contact dt { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--on-band-soft); }
.contact dd { font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.foot-links { display: grid; gap: 2px; }
.foot-links a { font-weight: 600; display: inline-block; padding-block: 5px; }
.contact a, .foot-base a { display: inline-block; padding-block: 4px; }
.contact .note { font-weight: 400; font-size: .875rem; color: var(--on-band-soft); user-select: auto; margin-top: 4px; }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--band-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; color: var(--on-band-soft); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* =====================================================================================
   INNER PAGES (give.html, contact.html, graceonwheels.html)
     "Page hero"        cream heading block at the top of each inner page
     "Forms"            fields, choice chips, errors, thank-you panel
     "Contact"          form + side cards
     "Give"             ways to give, where your gift goes, giving initiatives
     "Donate dialog"    the pop-up equipment form
     "Grace on Wheels"  steps and the vehicle form
   ===================================================================================== */

/* Page hero */
.page-hero { background: linear-gradient(var(--paper-2), var(--paper)); border-bottom: 3px solid var(--ink); }
.has-page-bg .page-hero { background: transparent; }
.page-hero .wrap { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); display: grid; gap: 16px; justify-items: start; }
.eyebrow { font-size: .875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.page-hero h1 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.25rem, 6.4vw, 4.5rem); line-height: 1; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
.page-hero h1 .hl { display: inline-block; background: var(--sun); color: var(--on-sun); padding: .02em .2em .08em; transform: rotate(-2deg); }
.page-hero .lede { margin-top: 4px; }
.page-hero .ln { display: inline; }
.first-sec { padding-top: clamp(40px, 6vw, 72px); }
.tbc { display: inline-block; font-family: var(--marker); font-size: .8125rem; line-height: 1.4; padding: 0 8px; margin-right: 6px; border: 2px dashed currentColor; transform: rotate(-2deg); }
.fine { font-size: .875rem; color: var(--ink-soft); }
.fine a { font-weight: 700; }

/* Forms */
.form { display: grid; gap: 22px; align-content: start; background: var(--card); border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--sun); padding: clamp(20px, 4vw, 36px); min-width: 0; }
.form label, .form legend { font-weight: 700; font-size: .9375rem; }
.form label:not(.choice) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 6px; align-content: start; }
.form label:not(.choice) > :is(input, select, textarea) { flex: 1 1 100%; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend { padding: 0; margin-bottom: 10px; }
.f-row { display: grid; gap: 6px; min-width: 0; }
.f-row.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.f-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.f-row.three.addr { grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1.2fr); }
.f-group { display: grid; gap: 18px; padding-top: 20px; border-top: 3px solid var(--edge); }
.f-group:first-of-type { padding-top: 0; border-top: 0; }
.form .f-group > legend { font-family: var(--display); font-weight: 400; font-size: 1.125rem; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 0; float: left; width: 100%; }
.form .f-group > legend + * { clear: both; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--paper);
  width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23121110' stroke-width='2.5'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.form ::placeholder { color: #8a8278; }
.form [aria-invalid="true"] { border-color: #a1261b !important; box-shadow: inset 0 0 0 2px #a1261b; }
.choices[data-invalid="true"] .choice { border-color: #a1261b; }
.req, .opt { font-weight: 400; font-size: .8125rem; color: var(--ink-soft); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.form .choice { display: inline-flex; grid-auto-flow: column; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font-weight: 600; }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }
.form .choice:has(input:checked) { background: var(--sun); }
.form .choice:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 3px; }
.form .choice.consent { display: flex; align-items: flex-start; border: 0; padding: 0; background: none; font-weight: 400; min-height: 0; }
.form .choice.consent:has(input:checked) { background: none; }
.choice.consent input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-error { background: var(--band); color: var(--sun); padding: 12px 16px; font-weight: 700; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.f-done { background: var(--card); border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--sun); padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; align-content: start; justify-items: start; }
.f-done h2, .d-done h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1; }
.f-done:focus, .d-done:focus { outline: none; }
@media (max-width: 600px) {
  .f-row.two, .f-row.three { grid-template-columns: minmax(0, 1fr); }
  .f-row.three.addr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-row.three.addr > :first-child { grid-column: 1 / -1; }
  .form, .f-done { box-shadow: 6px 6px 0 var(--sun); }
  .form .choice { flex: 1 1 100%; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-side { display: grid; gap: 24px; }
.side-card { background: var(--card); border: 3px solid var(--edge); padding: 24px; display: grid; gap: 10px; justify-items: start; min-width: 0; }
.side-card.band { background: var(--band); color: var(--on-band); --ring: var(--sun); border-color: var(--band); border-top: 8px solid var(--sun); }
.side-card .label { color: var(--ink-soft); }
.side-card.band .label { color: var(--sun); }
.side-card .label + p { margin-top: -4px; }
.side-card * + .label { margin-top: 10px; }
.side-card p { overflow-wrap: anywhere; }
.side-card.band p { color: var(--on-band); }
.side-card a:not(.btn) { font-weight: 700; display: inline-block; padding-block: 2px; }
.side-big { font-family: var(--tall); font-size: 1.75rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.side-card .btn { margin-top: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Give */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.way { padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; justify-items: start; border-top: 8px solid var(--sun); min-width: 0; }
.way .label { color: var(--sun); }
.way h3 { font-family: var(--display); font-weight: 400; font-size: 1.375rem; line-height: 1.15; text-transform: uppercase; overflow-wrap: anywhere; }
.way p:not(.label) { color: var(--on-band-soft); }
.way .btn { margin-top: 8px; }
.tax-note { margin-top: 28px; max-width: 65ch; font-size: .9375rem; color: var(--ink-soft); }
.gifts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.gift { background: var(--card); border: 3px solid var(--edge); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.gift .label { color: var(--ink-soft); }
.gift h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.15; text-transform: uppercase; }
.gift p { color: var(--ink-soft); }
.gift p strong { color: var(--ink); }
.gift .how { color: var(--ink); padding-top: 10px; border-top: 1px solid var(--line); font-size: .9375rem; }
#initiatives .fine { margin-top: 24px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature + .feature { margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(40px, 6vw, 72px); border-top: 3px solid var(--edge); }
.feature > img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 3px solid var(--edge); box-shadow: 10px 10px 0 var(--sun); background: var(--paper-2); }
.f-copy { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.f-copy .label { color: var(--ink-soft); }
.f-copy h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.625rem, 3.4vw, 2.5rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.f-copy p:not(.label) { color: var(--ink-soft); max-width: 52ch; }
.f-copy .actions { margin-top: 6px; }
@media (max-width: 860px) { .ways { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature > img { max-width: 420px; box-shadow: 6px 6px 0 var(--sun); }
}

/* Donate dialog */
dialog.donate { border: 3px solid var(--ink); padding: 0; background: var(--paper); color: var(--ink); width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto; box-shadow: 10px 10px 0 var(--sun); }
dialog.donate::backdrop { background: rgba(8, 8, 7, .78); }
.d-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 22px; background: var(--band); color: var(--on-band); --ring: var(--sun); }
.d-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.125rem; line-height: 1.2; text-transform: uppercase; }
.d-close { flex: none; width: 44px; height: 44px; background: var(--sun); color: var(--on-sun); border: 0; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.d-form { border: 0; box-shadow: none; background: var(--paper); }
.d-intro { color: var(--ink-soft); }
.d-done { padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; justify-items: start; }

/* Grace on Wheels */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; background: var(--band); color: var(--on-band); }
.steps li { counter-increment: step; padding: 24px 22px 26px; display: grid; gap: 6px; align-content: start; }
.steps li + li { border-left: 3px solid var(--sun); }
.steps li::before { content: counter(step); font-family: var(--tall); font-size: 3rem; line-height: 1; color: var(--sun); }
.steps b { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.0625rem; }
.steps p { color: var(--on-band-soft); font-size: .9375rem; }
.wheels-form { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.take { display: grid; gap: 10px; }
.take li { padding-left: 14px; border-left: 4px solid var(--sun); color: var(--ink-soft); }
.take b { display: block; color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(3) { border-left: 0; } .steps li:nth-child(n+3) { border-top: 3px solid var(--sun); } }
@media (max-width: 860px) { .wheels-form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li + li { border-left: 0; border-top: 3px solid var(--sun); } }
/* Giving initiative cards on the Give page reuse the home page's "Ways to serve" cards (.min) */
.min .note { font-size: .875rem; }

/* Give page: ways to give live in the hero so they show in the first screen on phones */
.give-hero .wrap { padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.give-hero .ways { width: 100%; margin-top: 14px; }
.give-hero .tax-note { margin-top: 6px; font-size: .875rem; }
.way h3.one-line { white-space: nowrap; overflow-wrap: normal; font-size: clamp(1rem, 1.45vw, 1.125rem); }
@media (max-width: 860px) {
  .give-hero .wrap { gap: 8px; padding-block: 18px 24px; }
  .give-hero h1 { font-size: 2rem; }
  .give-hero .lede { font-size: .9375rem; margin-top: 0; }
  .give-hero .ways { gap: 10px; margin-top: 6px; }
  .give-hero .way { gap: 4px; padding: 12px 14px 14px; border-top-width: 6px; }
  .give-hero .way h3 { font-size: 1.0625rem; overflow-wrap: normal; }
  .give-hero .way h3.one-line { font-size: 1.0625rem; }
  .give-hero .way p:not(.label) { font-size: .8125rem; line-height: 1.35; }
  .give-hero .way .btn { margin-top: 6px; min-height: 42px; }
}
