/* NSOCC design system — warm, reverent, editorial.
   Tokens ported 1:1 from the Lovable build's styles.css (oklch values). */

:root {
  --radius: 1rem;
  --background: oklch(0.9895 0.009 78.28);
  --foreground: oklch(0.2378 0.0277 271.86);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2378 0.0277 271.86);
  --primary: oklch(0.3019 0.0562 255.33);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.9596 0.0091 78.28);
  --muted-foreground: oklch(0.5 0.02 268);
  --destructive: oklch(0.55 0.2 27);
  --border: oklch(0.9 0.012 78);
  --input: oklch(0.9 0.012 78);
  --ring: oklch(0.7369 0.0815 78.54);
  --navy: oklch(0.3019 0.0562 255.33);
  --navy-foreground: oklch(1 0 0);
  --steel: oklch(0.4657 0.0872 258.28);
  --gold: oklch(0.7369 0.0815 78.54);
  --gold-soft: oklch(0.7472 0.089 82.39);
  --gold-foreground: oklch(0.2378 0.0277 271.86);
  --stone: oklch(0.9596 0.0091 78.28);
  --cashapp: oklch(0.7608 0.2447 144.26);
  --zelle: oklch(0.4907 0.2412 292.58);
  --urgent: oklch(0.55 0.2 27);
  --info: oklch(0.4657 0.0872 258.28);
  --shadow-soft: 0 2px 8px oklch(0.3019 0.0562 255.33 / 0.06), 0 12px 32px oklch(0.3019 0.0562 255.33 / 0.07);
  --shadow-lift: 0 8px 20px oklch(0.3019 0.0562 255.33 / 0.1), 0 24px 48px oklch(0.3019 0.0562 255.33 / 0.12);
  --gradient-hero: radial-gradient(120% 90% at 15% 0%, oklch(0.9596 0.0091 78.28) 0%, transparent 60%),
    radial-gradient(90% 80% at 100% 10%, oklch(0.93 0.03 250 / 0.55) 0%, transparent 65%),
    linear-gradient(180deg, oklch(0.9895 0.009 78.28) 0%, oklch(0.9895 0.009 78.28) 100%);
  --gradient-navy: linear-gradient(160deg, oklch(0.3019 0.0562 255.33) 0%, oklch(0.24 0.05 258) 100%);
  --gradient-gold: linear-gradient(120deg, oklch(0.7369 0.0815 78.54), oklch(0.83 0.075 85));
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

.dark {
  --background: oklch(0.16 0.018 265);
  --foreground: oklch(0.96 0.008 85);
  --card: oklch(0.2 0.02 265);
  --card-foreground: oklch(0.96 0.008 85);
  --primary: oklch(0.82 0.05 250);
  --primary-foreground: oklch(0.16 0.018 265);
  --secondary: oklch(0.24 0.02 265);
  --muted-foreground: oklch(0.72 0.015 260);
  --border: oklch(0.3 0.02 265);
  --input: oklch(0.3 0.02 265);
  --navy: oklch(0.82 0.05 250);
  --navy-foreground: oklch(0.2 0.045 258);
  --stone: oklch(0.185 0.018 265);
  --gradient-hero: radial-gradient(120% 90% at 15% 0%, oklch(0.22 0.03 260 / 0.6) 0%, transparent 60%),
    radial-gradient(90% 80% at 100% 10%, oklch(0.28 0.05 255 / 0.4) 0%, transparent 65%),
    linear-gradient(180deg, oklch(0.16 0.018 265) 0%, oklch(0.16 0.018 265) 100%);
}

* { border-color: var(--border); box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; overflow-x: clip; }
body {
  margin: 0; background-color: var(--background); color: var(--foreground);
  font-family: var(--font-sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
.hidden { display: none !important; }

.section-y { padding-block: 5rem; }
.bg-stone { background: var(--stone); }
.hero-surface { background-image: var(--gradient-hero); }
.navy-surface {
  background-image: var(--gradient-navy); color: var(--navy-foreground);
  --navy: oklch(0.3019 0.0562 255.33); --navy-foreground: oklch(1 0 0);
}
.gold-surface { background-image: var(--gradient-gold); color: var(--gold-foreground); }
.dot-pattern {
  background-image: radial-gradient(oklch(1 0 0 / 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}
.label-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-steel { color: var(--steel); }
.card-lift { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.wrap { margin-inline: auto; padding-inline: 1rem; }
.wrap-7xl { max-width: 80rem; }
.wrap-6xl { max-width: 72rem; }
.wrap-5xl { max-width: 64rem; }
.wrap-4xl { max-width: 56rem; }
.wrap-3xl { max-width: 48rem; }

/* ---------- Top info bar ---------- */
.topbar { background: var(--navy); color: var(--navy-foreground); }
.dark .topbar { background: var(--card); color: var(--foreground); border-bottom: 1px solid var(--border); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding-block: 0.5rem; font-size: 12px;
}
@media (min-width: 640px) { .topbar-inner { font-size: 13px; } }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.375rem; }
.topbar a:hover { color: var(--gold); }
.topbar .addr { display: none; }
@media (min-width: 768px) { .topbar .addr { display: inline-flex; align-items: center; gap: 0.375rem; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid oklch(from var(--border) l c h / 0.7);
  backdrop-filter: blur(8px); background: oklch(from var(--background) l c h / 0.85);
}
.site-header.scrolled { background: oklch(from var(--background) l c h / 0.95); box-shadow: var(--shadow-soft); }
.header-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.75rem;
  padding-block: 0.75rem;
}
@media (min-width: 1024px) {
  .header-inner { display: flex; justify-content: space-between; gap: 1rem; max-width: 88rem; }
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; min-width: 0; }
.brand-name {
  font-family: var(--font-serif); font-weight: 700; font-size: 0.875rem; line-height: 1.25;
  color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-name .long { display: none; }
@media (min-width: 640px) { .brand-name { font-size: 1rem; } .brand-name .long { display: inline; } .brand-name .short { display: none; } }
@media (min-width: 1280px) { .brand-name { font-size: 1.125rem; } }
.logo-mark { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.main-nav { display: none; align-items: center; gap: 1rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
@media (min-width: 1280px) { .main-nav { gap: 1.5rem; } }
.main-nav a {
  white-space: nowrap; font-size: 0.875rem; font-weight: 500;
  color: oklch(from var(--foreground) l c h / 0.75); text-decoration: none; transition: color 0.2s;
}
.main-nav a:hover { color: var(--navy); }
.header-actions { display: none; align-items: center; gap: 0.75rem; flex-shrink: 0; }
@media (min-width: 1024px) { .header-actions { display: flex; } }
.header-phone { white-space: nowrap; font-size: 0.875rem; font-weight: 600; color: var(--navy); text-decoration: none; display: none; }
@media (min-width: 1500px) { .header-phone { display: inline; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 1rem; padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer; transition: transform 0.2s, background 0.2s, opacity 0.2s;
  font-family: var(--font-sans); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--navy-foreground); }
.btn-gold { background-image: var(--gradient-gold); color: var(--gold-foreground); box-shadow: var(--shadow-soft); }
.btn-outline { background: var(--card); border: 1px solid oklch(from var(--navy) l c h / 0.25); color: var(--navy); }
.btn-outline:hover { background: var(--stone); transform: none; }
.btn-lg { padding: 0.875rem 1.75rem; border-radius: 1rem; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.icon-btn {
  border-radius: 0.75rem; border: 1px solid var(--border); padding: 0.5rem; background: transparent;
  color: var(--navy); cursor: pointer; display: inline-flex;
}
.mobile-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
@media (min-width: 1024px) { .mobile-actions { display: none; } }
.mobile-menu {
  border-top: 1px solid var(--border); background: var(--card); padding: 1rem;
  max-height: calc(100dvh - 8rem); overflow-y: auto;
}
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  border-radius: 0.75rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 500;
  color: oklch(from var(--foreground) l c h / 0.8); text-decoration: none;
}
.mobile-menu nav a:hover { background: var(--stone); }
.mobile-menu .cta-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.mobile-menu .cta-row .btn { flex: 1; padding: 0.625rem 1rem; }

/* ---------- Urgent banner / floating give ---------- */
.urgent-banner { font-size: 0.875rem; font-weight: 500; }
.urgent-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.625rem; }
.urgent-banner button { border: 0; background: transparent; cursor: pointer; border-radius: 0.375rem; padding: 0.25rem; color: inherit; }
.floating-give {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 1rem; padding: 0.75rem 1.25rem; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; box-shadow: var(--shadow-lift);
}
@media (min-width: 1024px) { .floating-give { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .watermark {
  pointer-events: none; position: absolute; top: 50%; left: 50%; width: 820px; max-width: 100vw;
  transform: translate(-50%, -50%); opacity: 0.03;
}
.hero-inner { position: relative; max-width: 64rem; margin-inline: auto; padding: 6rem 1rem; text-align: center; }
@media (min-width: 768px) { .hero-inner { padding-block: 8rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  border: 1px solid oklch(from var(--gold) l c h / 0.4); background: var(--card);
  padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--navy); box-shadow: var(--shadow-soft);
}
.hero-badge img { width: 1.25rem; height: 1.25rem; object-fit: contain; }
.hero h1 { margin-top: 2rem; font-size: 2.25rem; line-height: 1.05; color: var(--navy); }
@media (min-width: 640px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero .sub { margin: 1.5rem auto 0; max-width: 42rem; font-size: 1.125rem; color: oklch(from var(--foreground) l c h / 0.75); }
.hero .verse {
  margin: 2rem auto 0; max-width: 36rem; border-radius: 1rem; border: 1px solid var(--border);
  background: oklch(from var(--card) l c h / 0.7); padding: 1rem 1.5rem;
  font-family: var(--font-serif); font-size: 1rem; color: var(--steel); font-style: italic;
}
.hero .cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ---------- This Sunday strip / first-visit steps / closing invite ---------- */
.this-sunday { background: var(--card); border-bottom: 1px solid var(--border); }
.this-sunday-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.5rem 1.5rem; padding-block: 1.25rem; text-align: center;
}
.this-sunday .ts-facts { font-family: var(--font-serif); font-size: 1.0625rem; font-weight: 700; color: var(--navy); }
.this-sunday .ts-kids { font-size: 0.9375rem; color: oklch(from var(--foreground) l c h / 0.7); }
.this-sunday .ts-dir { font-size: 0.9375rem; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.this-sunday .ts-dir:hover { color: var(--gold); }
.visit-steps { margin: 0 auto 3rem; max-width: 72rem; }
.visit-steps h3 { text-align: center; font-size: 1.75rem; color: var(--navy); }
.visit-steps-intro { margin-top: 0.75rem; text-align: center; color: oklch(from var(--foreground) l c h / 0.7); }
.steps-grid { margin-top: 2rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps-grid { grid-template-columns: repeat(5, 1fr); } }
.step-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.step-card .step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem;
  border-radius: 999px; background: var(--navy); color: var(--navy-foreground);
  font-family: var(--font-serif); font-weight: 700; font-size: 1rem;
}
.step-card h4 { margin-top: 1rem; font-size: 1.125rem; color: var(--navy); }
.step-card p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: oklch(from var(--foreground) l c h / 0.75); }
.closing-invite h2 { margin-top: 0.75rem; }

/* ---------- Section headings / cards ---------- */
.section-head { text-align: center; }
.section-head h2 { margin-top: 0.75rem; font-size: 1.875rem; color: var(--navy); }
@media (min-width: 640px) { .section-head h2 { font-size: 3rem; } }
.section-head .lede { margin-top: 1rem; color: oklch(from var(--foreground) l c h / 0.7); }
.pillars-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(5, 1fr); } }
.pillar-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; text-align: center; }
.pillar-card .lead { font-family: var(--font-serif); font-size: 1.25rem; color: var(--navy); }
.pillar-card .tail { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.025em; color: var(--gold); }
.center-col { max-width: 56rem; margin-inline: auto; padding-inline: 1rem; text-align: center; }
.center-col h2 { margin-top: 0.75rem; font-size: 1.875rem; color: var(--navy); }
@media (min-width: 640px) { .center-col h2 { font-size: 3rem; } }
.center-col .body-lg { margin-top: 2rem; font-size: 1.125rem; line-height: 1.75; color: oklch(from var(--foreground) l c h / 0.8); }
.about-grid { display: grid; gap: 2.5rem; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 0.8fr 1.2fr; } }
.about-grid h2 { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.25; color: var(--navy); }
@media (min-width: 640px) { .about-grid h2 { font-size: 3rem; } }
.about-grid .body-lg { font-size: 1.125rem; line-height: 1.75; color: oklch(from var(--foreground) l c h / 0.8); }
.about-grid .body-lg p + p { margin-top: 1.25rem; }
.leadership-grid { display: grid; align-items: center; gap: 2.5rem; max-width: 64rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .leadership-grid { grid-template-columns: 1fr 1fr; } }
.leadership-photo { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.leadership-text { text-align: center; }
@media (min-width: 768px) { .leadership-text { text-align: left; } }
.leadership-text h2 { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.25; color: var(--navy); }
@media (min-width: 640px) { .leadership-text h2 { font-size: 2.25rem; } }
.leadership-text p { margin-top: 1.5rem; font-size: 1.125rem; line-height: 1.75; color: oklch(from var(--foreground) l c h / 0.8); }
.leadership-text p + p { margin-top: 1rem; }
.leadership-text p.leadership-names { margin-top: 0.875rem; font-size: 1.25rem; font-weight: 600; line-height: 1.5; color: var(--navy); }
.commit-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .commit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .commit-grid { grid-template-columns: repeat(4, 1fr); } }
.commit-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.75rem; }
.commit-card .icon-chip {
  display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  border-radius: 0.75rem; background: var(--stone); color: var(--navy); font-size: 1.25rem;
}
.commit-card h3 { margin-top: 1.25rem; font-size: 1.25rem; color: var(--navy); }
.commit-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: oklch(from var(--foreground) l c h / 0.7); }
.purpose-quote { margin-top: 1.5rem; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.375; color: var(--navy); }
@media (min-width: 640px) { .purpose-quote { font-size: 2.25rem; } }

/* ---------- Daily Word teaser / devotions ---------- */
.teaser-band { background: oklch(from var(--stone) l c h / 0.4); padding-block: 5rem; }
.teaser-card {
  border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card);
  padding: 2rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .teaser-card { padding: 3rem; } }
.teaser-card h2 { margin-top: 0.75rem; font-size: 1.875rem; color: var(--card-foreground); }
.verse-quote { margin-top: 1.25rem; border-left: 4px solid var(--gold); padding-left: 1.25rem; font-size: 1.125rem; color: oklch(from var(--foreground) l c h / 0.8); font-style: italic; }
.verse-quote footer { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600; font-style: normal; color: var(--muted-foreground); }
.clamp-3, .clamp-4, .clamp-6 {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}
.clamp-3 { -webkit-line-clamp: 3; }
.clamp-4 { -webkit-line-clamp: 4; }
.clamp-6 { -webkit-line-clamp: 6; }

/* ---------- Scripture plan ---------- */
.scripture-figure {
  margin: 2.5rem auto 0; max-width: 48rem; border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--card); padding: 2rem; text-align: center;
}
@media (min-width: 640px) { .scripture-figure { padding: 2.5rem; } }
.scripture-figure blockquote { margin: 1.25rem 0 0; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.625; color: var(--navy); }
@media (min-width: 640px) { .scripture-figure blockquote { font-size: 1.5rem; } }
.scripture-figure figcaption { margin-top: 1.25rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.readings-title { margin-top: 3rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy); text-align: center; }
.readings-grid { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .readings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .readings-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .readings-grid { grid-template-columns: repeat(4, 1fr); } }
.reading-card { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.25rem; }
.reading-card .when { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.reading-card .ref { margin-top: 0.5rem; font-family: var(--font-serif); font-size: 1.125rem; color: var(--navy); }
.reading-card .note { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.625; color: oklch(from var(--foreground) l c h / 0.7); }

/* ---------- Give ---------- */
.give-section { position: relative; overflow: hidden; }
.give-section .dots { position: absolute; inset: 0; }
.give-inner { position: relative; max-width: 72rem; margin-inline: auto; padding: 5rem 1rem; }
.give-head { text-align: center; }
.give-head h2 { font-size: 1.875rem; }
@media (min-width: 640px) { .give-head h2 { font-size: 3rem; } }
.give-head .proverb { margin-top: 1rem; font-family: var(--font-serif); font-size: 1.125rem; color: var(--gold); font-style: italic; }
.give-head .why { margin: 0.75rem auto 0; max-width: 42rem; font-size: 0.875rem; opacity: 0.8; }
.give-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .give-grid { grid-template-columns: 1fr 1fr; } }
.give-card { border-radius: 1rem; border: 2px solid var(--gold-soft); background: var(--card); color: var(--card-foreground); padding: 1.5rem; box-shadow: var(--shadow-lift); }
.give-card .brand-row { display: flex; align-items: center; gap: 1.25rem; }
.give-card .brand-tile {
  display: flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 1rem;
  font-family: var(--font-serif); font-size: 1.875rem; font-weight: 700; color: var(--card);
}
.tile-cashapp { background: var(--cashapp); }
.tile-zelle { background: var(--zelle); }
.give-card .divider { width: 1px; height: 3.5rem; background: oklch(from var(--gold-soft) l c h / 0.6); }
.give-card .brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.025em; color: var(--primary); }
.give-card .brand-value { font-size: 1.125rem; font-weight: 700; }
.give-card .brand-sub { font-size: 0.875rem; font-weight: 500; color: oklch(from var(--foreground) l c h / 0.7); }
.give-card .btn-row { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .give-card .btn-row { flex-direction: row; } }
.give-card .btn-row .btn { flex: 1; padding: 0.75rem 1.25rem; border-radius: 1rem; }
.btn-cashapp { background: var(--cashapp); color: var(--card); }
.btn-zelle { background: var(--zelle); color: var(--card); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--primary); }
.btn-ghost:hover { background: var(--stone); transform: none; }
.give-notes { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .give-notes { grid-template-columns: repeat(3, 1fr); } }
.give-note { border-radius: 1rem; border: 1px solid oklch(from var(--navy-foreground) l c h / 0.15); background: oklch(from var(--navy-foreground) l c h / 0.05); padding: 1.25rem; }
.give-note .t { margin-top: 0.75rem; font-family: var(--font-serif); font-size: 1.125rem; }
.give-note .b { margin-top: 0.25rem; font-size: 0.875rem; opacity: 0.8; }
.give-note .ic { color: var(--gold); font-size: 1.25rem; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: oklch(from var(--foreground) l c h / 0.5); padding: 1rem;
}
.modal-card { width: 100%; max-width: 28rem; border-radius: 1.5rem; background: var(--card); color: var(--card-foreground); padding: 1.75rem; box-shadow: var(--shadow-lift); }
.modal-card h3 { font-size: 1.5rem; color: var(--primary); }
.modal-card ol { margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: 0.875rem; color: oklch(from var(--foreground) l c h / 0.8); }
.modal-card ol li + li { margin-top: 0.75rem; }
.modal-close { float: right; border: 0; background: transparent; cursor: pointer; color: var(--muted-foreground); font-size: 1.125rem; }

/* ---------- Events ---------- */
.filter-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.filter-btn {
  border-radius: 1rem; border: 1px solid var(--border); background: var(--card);
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; color: oklch(from var(--foreground) l c h / 0.7);
  cursor: pointer; font-family: var(--font-sans); transition: background 0.2s, color 0.2s;
}
.filter-btn:hover { background: var(--stone); }
.filter-btn.active { border-color: var(--navy); background: var(--navy); color: var(--navy-foreground); }
.events-grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { display: flex; flex-direction: column; border-radius: 1.5rem; background: var(--card); padding: 1.5rem; border: 1px solid var(--border); }
.event-card.featured { border: 2px solid var(--gold); }
.event-top { display: flex; align-items: flex-start; gap: 1rem; }
.date-tile {
  display: flex; width: 4rem; height: 4rem; flex-shrink: 0; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 1rem; background: var(--navy); color: var(--navy-foreground);
}
.date-tile .m { font-size: 11px; letter-spacing: 0.1em; }
.date-tile .d { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; }
.chip {
  display: inline-block; border-radius: 999px; background: var(--stone); padding: 0.25rem 0.75rem;
  font-size: 11px; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--steel);
}
.chip-repeat { background: transparent; border: 1px solid oklch(from var(--gold) l c h / 0.5); color: var(--gold); margin-left: 0.5rem; }
.event-card h3 { margin-top: 0.5rem; font-size: 1.25rem; color: var(--navy); }
.event-meta { margin-top: 1rem; font-size: 0.875rem; color: oklch(from var(--foreground) l c h / 0.7); }
.event-meta p { display: flex; align-items: center; gap: 0.5rem; }
.event-meta p + p { margin-top: 0.375rem; }
.event-desc { margin-top: 1rem; font-size: 0.875rem; line-height: 1.625; color: oklch(from var(--foreground) l c h / 0.7); }
.empty-note { margin-top: 3rem; text-align: center; color: var(--muted-foreground); }

/* ---------- Announcements ---------- */
.announce-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.announce-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
@media (min-width: 640px) { .announce-card { padding: 1.75rem; } }
.announce-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.badge { border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 11px; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; }
.badge-urgent { background: var(--urgent); color: #fff; }
.badge-important { background-image: var(--gradient-gold); color: var(--gold-foreground); }
.badge-info { background: var(--info); color: #fff; }
.announce-date { font-size: 0.75rem; color: var(--muted-foreground); }
.announce-card h3 { margin-top: 0.75rem; font-size: 1.25rem; color: var(--navy); }
.announce-card .content { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.625; color: oklch(from var(--foreground) l c h / 0.75); white-space: pre-line; }

/* ---------- Contact ---------- */
.map-card { margin-bottom: 3rem; overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.map-card iframe { width: 100%; height: 380px; border: 0; display: block; }
.contact-cards { margin-bottom: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.contact-card .icon-chip { display: inline-flex; border-radius: 1rem; background: var(--secondary); padding: 0.75rem; color: var(--navy); font-size: 1.25rem; }
.contact-card h3 { margin-top: 1rem; font-size: 1.125rem; }
.contact-card .l1 { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.contact-card .l2 { font-size: 0.875rem; color: var(--muted-foreground); }
.contact-card a.more { display: inline-block; margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.contact-card a.more:hover { text-decoration: underline; }
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.times-card { border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-soft); }
.times-card h3 { font-size: 1.5rem; color: var(--navy-foreground); }
.times-card ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.times-card li {
  display: flex; align-items: center; gap: 0.75rem; border-bottom: 1px solid oklch(1 0 0 / 0.1);
  padding-bottom: 1rem; margin-bottom: 1rem; color: oklch(1 0 0 / 0.9); font-size: 0.95rem;
}
.times-card li:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.times-card li::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--gold); flex-shrink: 0; }
.times-card .doors { margin-top: 1.5rem; font-size: 0.875rem; color: oklch(1 0 0 / 0.7); }
.form-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 2rem; box-shadow: var(--shadow-soft); }
.form-card h3 { font-size: 1.5rem; }
.form-card .intro { margin-top: 0.5rem; color: var(--muted-foreground); }
.field { margin-top: 1rem; }
.field label { display: block; margin-bottom: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border-radius: 1rem; border: 1px solid var(--input); background: var(--background);
  padding: 0.75rem 1rem; font-size: 0.95rem; color: var(--foreground); outline: none; font-family: var(--font-sans);
}
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 2px var(--ring); }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-success {
  margin-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  border-radius: 1rem; background: oklch(from var(--secondary) l c h / 0.5); padding: 2rem; text-align: center;
}
.form-success .big { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; }
.form-error { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--destructive); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Newsletter ---------- */
.newsletter-form {
  margin: 2.5rem auto 0; max-width: 36rem; border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem; text-align: left; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .newsletter-form { padding: 2rem; } }
.newsletter-success {
  margin: 2.5rem auto 0; max-width: 28rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 2rem; box-shadow: var(--shadow-soft);
  font-size: 0.875rem; font-weight: 500;
}
.fine-print { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* ---------- Footer ---------- */
.site-footer { color: var(--navy-foreground); }
.footer-grid { display: grid; gap: 2.5rem; padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand .name { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; }
.site-footer h3 { font-size: 1rem; color: var(--gold); margin-bottom: 0.5rem; }
.footer-col { font-size: 0.875rem; }
.footer-col p { opacity: 0.9; }
.footer-col p + p { margin-top: 0.5rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-quote { margin-top: 1rem; font-size: 0.875rem; opacity: 0.8; }
.footer-scripture { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--gold); }
.footer-bottom { border-top: 1px solid oklch(from var(--navy-foreground) l c h / 0.15); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding-block: 1.25rem; padding-bottom: 6rem; font-size: 0.75rem; opacity: 0.85;
}
@media (min-width: 1024px) { .footer-bottom-inner { padding-bottom: 1.25rem; } }
.footer-bottom-inner .links { display: flex; align-items: center; gap: 1rem; }
.footer-bottom-inner a { text-decoration: none; }
.footer-bottom-inner a:hover { color: var(--gold); }

/* ---------- Devotions pages ---------- */
.page-main { max-width: 64rem; margin-inline: auto; padding: 3.5rem 1.25rem; }
@media (min-width: 640px) { .page-main { padding-block: 5rem; } }
.page-head { text-align: center; }
.page-head .eyebrow { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.page-head h1 { margin-top: 0.75rem; font-size: 1.875rem; color: var(--primary); }
@media (min-width: 640px) { .page-head h1 { font-size: 3rem; } }
.page-head .lede { margin: 1rem auto 0; max-width: 42rem; line-height: 1.625; color: var(--muted-foreground); }
.devotion-feature {
  margin-top: 3rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card);
  padding: 1.75rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .devotion-feature { padding: 2.5rem; } }
.devotion-date { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.devotion-feature h2, .devotion-card h3 { color: var(--primary); }
.devotion-feature h2 { margin-top: 0.75rem; font-size: 1.5rem; }
@media (min-width: 640px) { .devotion-feature h2 { font-size: 1.875rem; } }
.devotion-feature .msg { margin-top: 1.25rem; line-height: 1.625; color: var(--muted-foreground); white-space: pre-line; }
.devotion-grid { margin-top: 1.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .devotion-grid { grid-template-columns: 1fr 1fr; } }
.devotion-card {
  display: block; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card);
  padding: 1.5rem; text-decoration: none; transition: transform 0.2s;
}
.devotion-card:hover { transform: translateY(-4px); }
.devotion-card h3 { margin-top: 0.5rem; font-size: 1.125rem; }
.devotion-card .ref { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.devotion-card .msg { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }
.prev-title { margin-top: 4rem; font-size: 1.5rem; color: var(--primary); }
.article-main { max-width: 48rem; margin-inline: auto; padding: 3rem 1.25rem; }
@media (min-width: 640px) { .article-main { padding-block: 4rem; } }
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); text-decoration: none; }
.back-link:hover { color: var(--primary); }
.article-main h1 { margin-top: 0.75rem; font-size: 1.875rem; line-height: 1.25; color: var(--primary); }
@media (min-width: 640px) { .article-main h1 { font-size: 2.25rem; } }
.article-verse {
  margin-top: 1.75rem; border-radius: 1.5rem; border-left: 4px solid var(--gold); background: var(--card);
  padding: 1.5rem; font-family: var(--font-serif); font-size: 1.125rem; line-height: 1.625; font-style: italic;
  box-shadow: var(--shadow-soft);
}
.article-verse footer { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; font-style: normal; color: var(--muted-foreground); }
.article-body { margin-top: 2rem; }
.article-body p { line-height: 1.75; color: var(--muted-foreground); }
.article-body p + p { margin-top: 1.25rem; }
.going-deeper { margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.going-deeper h2 { font-size: 1.5rem; color: var(--primary); }

/* ---------- Engagement (comments / polls) ---------- */
.engage { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.engage-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.engage-card h2 { font-size: 1.25rem; color: var(--primary); }
.comment { border-top: 1px solid var(--border); padding-block: 1rem; }
.comment:first-of-type { border-top: 0; }
.comment .who { font-size: 0.875rem; font-weight: 600; }
.comment .when { font-size: 0.75rem; color: var(--muted-foreground); margin-left: 0.5rem; }
.comment .body { margin-top: 0.25rem; font-size: 0.9rem; line-height: 1.625; color: oklch(from var(--foreground) l c h / 0.8); white-space: pre-line; }
.comment .del { float: right; border: 0; background: transparent; color: var(--muted-foreground); cursor: pointer; font-size: 0.75rem; }
.poll-option { margin-top: 0.75rem; }
.poll-bar { height: 0.5rem; border-radius: 999px; background: var(--stone); overflow: hidden; margin-top: 0.25rem; }
.poll-bar > div { height: 100%; background: var(--gold); }
.poll-btn {
  width: 100%; text-align: left; border-radius: 1rem; border: 1px solid var(--border); background: var(--background);
  padding: 0.75rem 1rem; font-size: 0.9rem; cursor: pointer; font-family: var(--font-sans);
}
.poll-btn:hover { border-color: var(--gold); }
.poll-btn.voted { border-color: var(--gold); background: oklch(from var(--gold) l c h / 0.12); }

/* ---------- Auth / directory / admin ---------- */
.center-screen { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 4rem 1rem; }
.auth-box { width: 100%; max-width: 28rem; }
.auth-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.auth-head h1 { margin-top: 1.25rem; font-size: 1.875rem; }
.auth-head p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.auth-form { margin-top: 2rem; border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .auth-form { padding: 2rem; } }
.auth-switch { margin-top: 1.25rem; width: 100%; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); background: none; border: 0; cursor: pointer; font-family: var(--font-sans); }
.auth-switch:hover { color: var(--navy); }
.notice-ok { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--navy); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 3rem !important; }
.password-toggle {
  position: absolute; top: 50%; right: 0.5rem; transform: translateY(-50%);
  border: 0; background: transparent; cursor: pointer; color: var(--muted-foreground); padding: 0.5rem; font-size: 0.8rem;
}
.dir-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.dir-grid { display: grid; gap: 2rem; padding-block: 3rem; }
@media (min-width: 1024px) { .dir-grid { grid-template-columns: 360px 1fr; } }
.member-grid { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .member-grid { grid-template-columns: 1fr 1fr; } }
.member-card { border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); padding: 1.25rem; box-shadow: var(--shadow-soft); }
.member-card h3 { font-size: 1.125rem; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }
.you-chip { margin-left: 0.5rem; border-radius: 999px; background: var(--stone); padding: 0.125rem 0.5rem; font-size: 11px; font-weight: 500; color: var(--muted-foreground); vertical-align: middle; }
.family-list { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.family-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; border: 1px solid var(--border); border-radius: 1rem; padding: 0.75rem 1rem; background: var(--background); }
.family-item .nm { font-weight: 600; font-size: 0.9rem; }
.family-item .meta { font-size: 0.8rem; color: var(--muted-foreground); }
.link-btn { border: 0; background: none; color: var(--steel); cursor: pointer; font-size: 0.8rem; font-weight: 600; padding: 0; font-family: var(--font-sans); }
.link-btn:hover { text-decoration: underline; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 80;
  background: var(--navy); color: var(--navy-foreground); border-radius: 1rem; padding: 0.75rem 1.25rem;
  font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-lift); max-width: min(92vw, 30rem); text-align: center;
}
.ath-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 5.5rem; z-index: 45;
  border-radius: 1.5rem; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-lift);
  padding: 1rem; display: flex; gap: 0.75rem; align-items: center;
}
@media (min-width: 640px) { .ath-banner { left: auto; max-width: 24rem; } }
.ath-banner .x { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--muted-foreground); font-size: 1rem; }

/* Header fit: keep the full church name visible at laptop widths */
@media (max-width: 1440px) {
  .brand-name { font-size: 1.02rem; }
  .nav-inner { gap: 1rem; }
  .nav-links { gap: 1.1rem; }
}

/* Auth — forgot-password link (added 2026-11-23, ported from Lovable auth) */
.auth-forgot { background: none; border: none; padding: 0; margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); cursor: pointer; }
.auth-forgot:hover { color: var(--navy); }
