/* ══ The site footer — ONE for every page ══════════════════════════════════════════════════════
   (user, 2026-11-20: "Change the footer to look like this" — passioncitychurch.com's — "Instead of
   email, do phone number to Receive text updates from Bethesda. Keep the large Bethesda text that
   we currently have in the footer.")

   The markup lives in _partials/footer.html and is written into each page by sync-header.py; its
   behaviour is assets/footer.js. Passion's footer, measured off their page that day: quiet 18px
   labels, a 20px bold sign-up line, an input and a blue pill, then three columns of 24px bold
   links, and 14px small print along the bottom — on this site's own dark ground, #262626 (user,
   same day: "Keep the footer our dark color"; Passion's is a light stone). Labels and small print
   are #A3A3A3 on it, 6:1.
   Laid out on the same column as the header and the home page — the sign-up in the first part of
   the page's split, the links in the second (common alignment) — three short columns of at most
   five (Miller), each under a plain label (proximity). The "Bethesda" wordmark runs across the
   foot as it did on the home page, a shade lighter than the ground (#333333). Everything here is prefixed
   .sf- and set in full, so no page's own type can leak in. */

.site-footer {
  --sf-gut: clamp(20px, 5.56vw, 80px);
  --sf-col: 1280px;
  position: relative; z-index: 1; overflow: hidden;
  padding: clamp(56px, 5vw, 72px) 0 clamp(130px, 14vw, 340px);
  background: #262626; color: #fff; text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.45;
  /* the home page's type, the same on every page (user, 2026-11-20: "Make sure our footer uses same font as
     homepage"): Inter throughout, and none of the other pages' font smoothing, which thins every letter on a Mac */
  -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto;
}
@media (min-width: 1800px) { .site-footer { --sf-col: 1400px; } }
@media (min-width: 2400px) { .site-footer { --sf-col: 1560px; } }
.site-footer *, .site-footer *::before, .site-footer *::after { box-sizing: border-box; }
.site-footer p, .site-footer h2, .site-footer ul, .site-footer li { margin: 0; padding: 0; max-width: none; list-style: none;
  font-family: inherit; text-transform: none; }
.sf-in { position: relative; z-index: 1; width: 100%; max-width: calc(var(--sf-col) + 2 * var(--sf-gut)); margin: 0 auto;
  padding: 0 var(--sf-gut); }
/* the home page's split: 575 | 58 | 647 at 1440 */
.sf-top { display: grid; grid-template-columns: minmax(0, 575fr) minmax(0, 647fr); column-gap: clamp(32px, 4vw, 58px); row-gap: 56px; }

.site-footer .sf-label { margin-bottom: clamp(14px, 1.4vw, 20px); color: #A3A3A3; font-size: 18px; font-weight: 400;
  letter-spacing: .025em; line-height: 1.375; }

/* ── the sign-up ── */
.sf-sign { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer .sf-title { max-width: 16em; margin-bottom: 22px; color: #fff; font-size: 20px; font-weight: 700;
  letter-spacing: -.045em; line-height: 1.15; }
.sf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sf-input { width: 100%; max-width: 350px; height: 48px; margin: 0; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 4px; background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-size: 16px; }
.sf-input::placeholder { color: #A3A3A3; opacity: 1; }
.sf-input:focus { outline: 2px solid #fff; outline-offset: 2px; border-color: #fff; }
.sf-input.bad { border-color: #FF8A80; }
/* Passion's pill, in the home page's Inter (not their mono) and this site's blue (the note's #42B6E7):
   dark words on it, 8:1 */
.sf-go { height: 44px; margin: 18px 0 0; padding: 0 26px; border: 0; border-radius: 22px; background: #42B6E7; color: #0E1216;
  font-family: inherit; font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-transform: none; cursor: pointer;
  transition: background .15s ease; }
.sf-go:hover { background: #2FA6DA; }
.sf-go:disabled { opacity: .6; cursor: default; }
.site-footer .sf-fine { max-width: 350px; margin-top: 16px; color: #A3A3A3; font-size: 12px; line-height: 1.45; }
.site-footer .sf-note { margin-top: 12px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4; }
.site-footer .sf-note:empty { display: none; }

/* ── the columns ── */
.sf-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; }
.site-footer .sf-cols ul { display: grid; gap: 12px; }
.sf-cols a { color: #fff; font-size: clamp(20px, 1.67vw, 24px); font-weight: 700; letter-spacing: -.05em; line-height: 1.04;
  text-decoration: none; }
.sf-cols a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }

/* ── the small print ── */
.sf-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; margin-top: clamp(64px, 6.7vw, 96px);
  color: #A3A3A3; font-size: 14px; line-height: 20px; }
.sf-bottom a { color: inherit; text-decoration: none; }
.sf-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.sf-social { display: grid; place-items: center; width: 44px; height: 44px; margin: -12px -10px -12px auto; border-radius: 50%; }
.sf-social svg { width: 24px; height: 24px; fill: currentColor; }
.sf-social + .sf-social { margin-left: -10px; }   /* more than one (Pillar → Site settings → Footer): side by side at the right */

.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

/* ── the wordmark ── */
.sf-mark { position: absolute; z-index: 0; left: -4.3vw; bottom: -6.44vw; color: #333333; white-space: nowrap;
  font-size: 26.3vw; font-weight: 800; letter-spacing: -.04em; line-height: 1; pointer-events: none; user-select: none; }

@media (max-width: 900px) {
  .sf-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .sf-cols { grid-template-columns: 1fr 1fr; }
  .sf-bottom { gap: 8px 24px; }
  .sf-social { margin-left: -10px; }
}
