/* =========================================================
   New Life Church, Redding CA
   Stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Blues */
  --navy-deep: #001e48;
  --navy:      #004a98;
  --blue:      #0082ca;
  --bright:    #00abf8;
  --sky:       #6bc4e8;
  --wash:      #e6f4fb;

  /* Neutrals: "ink" is a blue-charcoal, not a rich black */
  --ink:       #1a1f26;
  --ink-soft:  #232932;
  --white:     #ffffff;
  --paper:     #f7f9fb;
  --body:      #38414d;
  --muted:     #6a7482;

  /* The pop */
  --red:       #e0342f;

  --border:        rgba(0, 74, 152, 0.13);
  --border-light:  rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.26);

  --shadow-sm: 0 1px 3px rgba(0, 30, 72, 0.07), 0 1px 2px rgba(0, 30, 72, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 30, 72, 0.09), 0 2px 6px rgba(0, 30, 72, 0.05);
  --shadow-lg: 0 24px 60px rgba(0, 30, 72, 0.16), 0 6px 16px rgba(0, 30, 72, 0.07);
  --shadow-blue: 0 12px 28px rgba(0, 130, 202, 0.32);

  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1180px;
  --container-narrow: 820px;
  --container-mid: 1040px;
  --space-section: clamp(3.75rem, 7vw, 6.5rem);

  /* Paragraph scales. --fs-lead is the intro line under a headline (hero,
     page hero, .lead). --fs-support is the smaller supporting line under a
     section heading. They scale in lockstep so the hierarchy never inverts. */
  --fs-lead: clamp(1.08rem, 1.5vw, 1.25rem);
  --fs-support: clamp(1rem, 1.35vw, 1.12rem);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

figure { margin: 0; }

a { color: var(--blue); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.9vw, 3.05rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--bright); color: #fff; }

:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container.narrow { max-width: var(--container-narrow); }
.container.mid { max-width: var(--container-mid); }

.section { padding-block: var(--space-section); }
.section.tight { padding-block: clamp(0.25rem, 1vw, 0.75rem) clamp(2.75rem, 5vw, 4.25rem); }
.section.paper { background: var(--paper); }
.section.wash  { background: var(--wash); }

.text-center { text-align: center; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow.on-dark { color: var(--sky); }

.section-head { max-width: 660px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }

h2.h-sm { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h2.h-lg { font-size: clamp(2.3rem, 5vw, 3.7rem); }
.section-head p { font-size: var(--fs-support); color: var(--muted); margin-bottom: 0; }

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 0.95em 1.85em;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform 0.16s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--bright), var(--blue));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(0, 130, 202, 0.42); }

.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.btn-light:hover { color: var(--navy-deep); }

.btn-outline { box-shadow: inset 0 0 0 2px rgba(0, 74, 152, 0.22); color: var(--navy); background: transparent; }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); background: rgba(0, 130, 202, 0.05); }

.btn-ghost { box-shadow: inset 0 0 0 2px var(--border-strong); color: #fff; background: rgba(255, 255, 255, 0.07); }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 40px;
  padding-block: 0.45rem;
}
.topbar-times { display: flex; align-items: center; gap: 0.7rem; }
.topbar-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
}
.topbar-right { display: flex; align-items: center; gap: 1.4rem; }
.topbar a { color: rgba(255, 255, 255, 0.78); }
.topbar a:hover { color: #fff; }
.topbar svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 0.35em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
}
.logo { flex: none; display: block; }
.logo img { height: 58px; width: auto; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.4rem 0;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-list a:hover { color: var(--blue); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--blue); font-weight: 600; }

.header-cta { flex: none; }
.header-cta .btn { padding: 0.7em 1.4em; font-size: 0.88rem; }

.menu-toggle {
  display: none;
  margin-left: auto;
  /* No border, but the 44px box stays: that's the minimum comfortable tap target. */
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
/* scaleX(0) as well as opacity:0. iOS Safari can leave the rounded end caps of
   a faded-out bar painted, which shows up as two dots either side of the X. */
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (gradient) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    /* Delete the next line to leave the top-left corner plain navy. */
    radial-gradient(1800px 1100px at 0% 0%, rgba(107, 196, 232, 0.13), transparent 72%),
    radial-gradient(900px 540px at 88% 88%, rgba(0, 171, 248, 0.28), transparent 62%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, var(--blue) 100%);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(900px 600px at 78% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(900px 600px at 78% 40%, #000, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  margin-bottom: 0.45em;
}
.hero h1 .accent { color: var(--sky); }
.hero p { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-lead); max-width: 46ch; }
.hero .btn-row { margin-top: 2rem; }

/* Horizontally rounded image card at the right of the hero */
.hero-figure {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 100%;
  min-height: 360px;
  box-shadow: 0 34px 70px rgba(0, 20, 50, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(107, 196, 232, 0.35), rgba(0, 74, 152, 0.55));
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Strip beneath the hero */
.hero-strip {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  background: rgba(0, 0, 0, 0.20);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 1;
}
.hero-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  padding-block: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.hero-strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1000px 500px at 82% 30%, rgba(107, 196, 232, 0.26), transparent 62%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, var(--blue) 100%);
  padding-block: clamp(3.25rem, 6vw, 5.25rem);
}
.page-hero h1 { color: #fff; font-size: clamp(2.35rem, 5vw, 3.9rem); }
.page-hero.center { text-align: center; }
.page-hero.center p { margin-inline: auto; }
.page-hero p { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-lead); max-width: 56ch; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 2rem; }

/* ---------- Split layouts ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split.media-left > .figure-round { order: -1; }
.split.swap > *:last-child { order: -1; }
.split.align-top { align-items: start; }

.figure-round {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  align-self: center;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--sky), var(--blue));
  position: relative;
}
.figure-round img { width: 100%; height: 100%; object-fit: cover; }
.figure-round.square { aspect-ratio: 1; }

.placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.5rem;
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.8rem; line-height: 1.5; }
.checklist svg { flex: none; width: 21px; height: 21px; margin-top: 2px; color: var(--blue); }
.on-dark .checklist svg, .checklist.on-dark svg { color: var(--sky); }

/* ---------- Dark sections ---------- */
.section.navy {
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(900px 480px at 85% 15%, rgba(0, 171, 248, 0.20), transparent 62%),
    linear-gradient(150deg, var(--navy-deep), var(--navy));
}
.section.ink {
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}
.section.navy h2, .section.navy h3, .section.navy h4,
.section.ink h2, .section.ink h3, .section.ink h4 { color: #fff; }
.section.navy .section-head p, .section.ink .section-head p { color: rgba(255, 255, 255, 0.72); }
.section.navy a:not(.btn), .section.ink a:not(.btn) { color: var(--sky); }
.section.navy a:not(.btn):hover, .section.ink a:not(.btn):hover { color: #fff; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card-glass {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Service time cards */
.times { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.time-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.time-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.1); }
.time-card.featured {
  background: linear-gradient(140deg, rgba(0, 171, 248, 0.28), rgba(107, 196, 232, 0.12));
  border-color: rgba(107, 196, 232, 0.5);
}
.time-card .time {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.05;
}
.time-card .name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0.6rem 0 0.5rem;
}
.time-card .note { font-size: 0.94rem; color: rgba(255, 255, 255, 0.7); margin: 0; }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.meta-line.center { justify-content: center; text-align: center; }

/* ---------- Ministry boxes (no images) ---------- */
.ministry-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(246px, 1fr)); }
.ministry-box {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(0, 171, 248, 0.13), rgba(0, 171, 248, 0) 48%), #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.85rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ministry-box:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(0, 171, 248, 0.22), rgba(0, 171, 248, 0) 55%), #fff;
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 130, 202, 0.3);
}
.ministry-box .tag {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.7rem;
}
.ministry-box h3 { margin-bottom: 0.5rem; }
.ministry-box p { font-size: 0.97rem; color: var(--muted); margin-bottom: 1.15rem; }
.ministry-box .when {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  padding-top: 0.9rem;
  border-top: 1px dashed var(--border);
}

/* ---------- Icon list (What to Expect) ---------- */
.expect-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.7rem;
}
.expect-list li { display: flex; align-items: flex-start; gap: 1.15rem; }
.expect-list .icon {
  flex: none;
  display: grid;
  place-content: center;
  width: 48px; height: 48px;
  border-radius: 15px;
  background: var(--wash);
  color: var(--blue);
}
.expect-list .icon svg { width: 22px; height: 22px; }
.expect-list h3 { font-size: 1.06rem; margin: 0 0 0.3rem; }
.expect-list p { font-size: 0.97rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- Form card (connect card panel) ---------- */
.form-card {
  background: var(--wash);
  border: 1px solid rgba(0, 130, 202, 0.16);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.form-card .field input,
.form-card .field textarea { background: #fff; }
.form-card .form { margin-top: 1.5rem; }
.form-card textarea { min-height: 96px; }

/* ---------- Weekly schedule ---------- */
.schedule { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.schedule-day {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.schedule-day h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.schedule-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.schedule-day li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.schedule-day .item-name { font-weight: 500; color: var(--ink); }
.schedule-day .item-name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.schedule-day .item-time { flex: none; font-size: 0.9rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Verse / quote ---------- */
.verse {
  position: relative;
  border-radius: var(--r-lg);
  padding: clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(107, 196, 232, 0.38), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--blue) 58%, #00a3ea 100%);
  color: #fff;
  overflow: hidden;
}
.verse::before {
  content: "\201C";
  position: absolute;
  /* Just far enough down that the glyph clears the box's overflow clip. */
  top: -0.02em; right: 0.14em;
  font-family: var(--font-display);
  font-size: 11rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.13);
  pointer-events: none;
}
.verse blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
.verse cite {
  display: block;
  margin-top: 1.15rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sky);
}
.verse.center { text-align: center; }

.verse-inline {
  border-left: 3px solid var(--bright);
  padding: 0.3rem 0 0.3rem 1.4rem;
  margin: 1.75rem 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--body);
}
.verse-inline cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Pillars (Love God / Love People / Make Disciples) ---------- */
.pillars { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.pillar {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
}
.pillar h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.7rem; }
.pillar h3 .accent { color: var(--sky); }
.pillar p { font-size: 0.98rem; color: rgba(255, 255, 255, 0.75); }
.pillar-verse {
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-light);
}
.pillar-verse p {
  font-size: 0.94rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.5rem;
}
.pillar-verse cite {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--sky);
}
.pillar .values { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; }
.pillar .values span {
  font-size: 0.76rem;
  font-weight: 500;
  padding: 0.35em 0.85em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: rgba(255, 255, 255, 0.86);
}

/* ---------- Accordion (What We Believe) ---------- */
.accordion { display: block; border-top: 1px solid var(--border); }
.accordion details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
.accordion summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.012em;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--blue); }
.accordion summary .idx {
  flex: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
}
.accordion summary .chev {
  flex: none;
  margin-left: auto;
  width: 20px; height: 20px;
  color: var(--blue);
  transition: transform 0.22s ease;
}
.accordion details[open] summary .chev { transform: rotate(180deg); }
.accordion .panel { padding: 0 calc(1.6em + 1rem) 1.6rem calc(1.6em + 1rem); }
.accordion .panel p { font-size: 1.06rem; }
.accordion .panel p:first-child { margin-top: 0; }
.accordion .panel .verse-inline {
  margin: 1.3rem 0 0;
  padding: 1.1rem 1.35rem;
  background: rgba(0, 130, 202, 0.06);
  border-left: 0;
  border-radius: var(--r);
  font-size: 0.92rem;
  color: var(--muted);
}
.accordion .panel .verse-inline cite { font-size: 0.71rem; margin-top: 0.5rem; }

/* ---------- Long-form pages (privacy, accessibility) ---------- */
.prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  margin-top: clamp(2.25rem, 4vw, 3rem);
  margin-bottom: 0.7rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul { padding-left: 1.15rem; margin: 0 0 1.15rem; display: grid; gap: 0.5rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose .updated {
  font-size: 0.86rem;
  color: var(--muted);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.prose .callout {
  background: var(--wash);
  border-radius: var(--r);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }

.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Team ---------- */
.team + .team { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.75rem, 3vw, 2.5rem) 1.25rem;
  text-align: center;
}
.team-member { flex: 0 0 calc(25% - 1rem); }
.team-member .avatar {
  width: clamp(124px, 14.5vw, 168px);
  aspect-ratio: 1;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(140deg, var(--sky), var(--blue));
  box-shadow: 0 10px 26px rgba(0, 30, 72, 0.16);
  border: 3px solid #fff;
  outline: 1px solid var(--border);
}
.team-member .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-member .avatar .initials {
  display: grid; place-content: center; height: 100%;
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 700; color: #fff;
  letter-spacing: 0.02em;
}
.team-member h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.team-member .role { font-size: 0.86rem; color: var(--muted); }

/* ---------- Give CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(760px 400px at 85% 85%, rgba(0, 171, 248, 0.28), transparent 62%),
    linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta-band h2 { color: #fff; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-support);
  /* 575px is the midpoint of the 561-588px window where this copy breaks
     before "throughout" at every desktop width. */
  max-width: 575px;
  margin-inline: auto;
}
.cta-band .container { position: relative; z-index: 1; }

/* ---------- Ways to give ---------- */
.give-ways { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(262px, 1fr)); }
.give-way {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.give-way .icon {
  display: grid; place-content: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--wash);
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.give-way .icon svg { width: 22px; height: 22px; }
.give-way h3 { margin-bottom: 0.55rem; }
.give-way p { font-size: 0.97rem; color: var(--muted); }
.give-way address { font-style: normal; line-height: 1.6; color: var(--ink); font-weight: 500; }

.badge-soon {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 130, 202, 0.09);
  border: 1px solid rgba(0, 130, 202, 0.26);
  padding: 0.35em 0.8em;
  border-radius: var(--r-pill);
}
.badge-soon::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--bright); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 0.75rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.field .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 202, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }

.checks { display: grid; gap: 0.65rem; }
.check { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.97rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--blue); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note { font-size: 0.86rem; color: var(--muted); }

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.form-actions .form-note { flex: 1 1 190px; margin: 0; font-size: 0.79rem; line-height: 1.45; }

.alert {
  border-radius: var(--r);
  padding: 1.1rem 1.35rem;
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
  border: 1px solid;
}
.alert-ok { background: rgba(0, 130, 202, 0.07); border-color: rgba(0, 130, 202, 0.28); color: var(--navy); }
.alert-err { background: rgba(224, 52, 47, 0.07); border-color: rgba(224, 52, 47, 0.3); color: #a1231f; }
.alert strong { font-family: var(--font-display); }

/* ---------- Map ---------- */
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3.2;
  background: var(--wash);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Google's embed is cross-origin, so it can't be styled directly. Inverting a
   grayscaled map gives a dark navy base with blue roads, which sits well on
   this section. Remove .dark for the stock Google map. */
.map-frame.dark {
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--navy-deep);
}
.map-frame.dark iframe {
  filter: grayscale(1) invert(0.9) sepia(0.55) hue-rotate(175deg) saturate(2.2)
          brightness(0.9) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding-block: clamp(3rem, 5vw, 4.5rem) 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr) minmax(0, 0.75fr) minmax(0, 1.25fr);
}
.footer-logo { height: 68px; width: auto; margin-bottom: 1.15rem; }
.footer-tagline { font-size: 0.85rem; max-width: 200px; }
.site-footer h4 {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.site-footer a { color: rgba(255, 255, 255, 0.66); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.35rem; }
.socials a {
  display: grid; place-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials svg { width: 17px; height: 17px; }

.footer-credit {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-block: 1.6rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; margin-bottom: 2rem; }
  /* Stacked: go back to a wide crop, and drop the desktop height rules that
     would otherwise drive the width out past the viewport. */
  .hero-figure { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .split { grid-template-columns: 1fr; }
  /* Stacked: the photo leads, but a form still follows its headline. */
  .split.media-left > .figure-round { order: -1; margin-bottom: 0.5rem; }
  .split.swap > *:last-child { order: 0; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }

  /* Full-screen overlay. --nav-top is set by main.js to the live bottom edge
     of the header, so the menu starts below it however the bar is sitting. */
  /* backdrop-filter on the header would make it the containing block for any
     fixed child, trapping this overlay inside the header box. Turn it off here. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }
  .site-nav {
    position: fixed;
    top: var(--nav-top, 114px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--wash);
    display: none;
    margin-left: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 3rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .site-nav.open { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    width: 100%;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    text-align: center;
    padding: 0.85rem 0;
    font-size: clamp(1.55rem, 6vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.02em;
  }
  .nav-list a::after { display: none; }
  .nav-list a.is-active { color: var(--blue); }

  .header-cta { display: block; width: 100%; }
  .header-cta .btn {
    display: flex;
    justify-content: center;
    width: min(320px, 100%);
    margin-inline: auto;
    padding: 0.6em 1.5em;
    /* Sized to sit alongside the nav links, not below them */
    font-size: clamp(1.4rem, 5.6vw, 1.85rem);
  }

  .topbar-right { display: none; }
  .topbar .container { justify-content: center; }
}

@media (max-width: 900px) {
  .team-member { flex-basis: calc(33.333% - 1rem); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .logo img { height: 46px; }
  .site-header .container { min-height: 74px; }
  .accordion { padding-inline: 1.15rem; }
  .accordion summary { gap: 0.75rem; }
  .accordion .panel { padding-inline: 0 0.35rem; }
  .footer-bottom { justify-content: flex-start; }
  .hero-strip .dot { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .team-member { flex-basis: calc(50% - 0.75rem); }
  .team-member.lead { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
