/* ==========================================================================
   New Antioch COGIC — Site 3 (Logo palette)
   Navy + teal + gold, drawn directly from the New Antioch logo.
   ========================================================================== */

:root {
  /* Palette — sourced from the church's logo (navy text, teal cross, gold cross + subtitle) */
  --ink: #0A0A0A;
  --graphite: #1A1A1A;
  --slate: #3A3D45;
  --mist: #6F7178;
  --bone: #FFFFFF;
  --cream: #FAFAF7;
  --paper: #F4F7FB;
  --navy: #1E3A6F;
  --navy-deep: #122549;
  --navy-light: #2E5290;
  --teal: #3DB7E4;
  --teal-deep: #1F8FBC;
  --teal-soft: #8AD4EE;
  --gold: #E8A93A;
  --gold-deep: #B8842A;
  --gold-soft: #F4C879;
  --oxblood: #6B1F2E;
  --rule: rgba(30, 58, 111, 0.10);
  --rule-strong: rgba(30, 58, 111, 0.18);
  --rule-on-navy: rgba(255, 255, 255, 0.14);
  --rule-on-ink: rgba(255, 255, 255, 0.14);

  /* Typography — Inter dominant, Fraunces reserved for scripture italic accents */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Fraunces', 'Georgia', serif;

  /* Type scale */
  --fs-eyebrow: 0.72rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --fs-h2: clamp(2rem, 1.6rem + 2.4vw, 3.5rem);
  --fs-h1: clamp(2.75rem, 2rem + 4.5vw, 6.25rem);
  --fs-display: clamp(3.5rem, 2.5rem + 7vw, 9rem);

  /* Layout */
  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 8vw, 8rem);

  /* Easing */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

/* Skip-to-content link — accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1000;
  transition: top 0.3s var(--ease);
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Universal focus ring — navy, accessible */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--ink); color: var(--cream); }

/* ── Typography primitives ── */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 1; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; line-height: 1.15; font-weight: 600; }
h4 { font-weight: 600; }

/* Reserved for scripture pulls and intentional italic accents */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
  border-radius: 1px;
}

.lede {
  font-size: var(--fs-lead);
  line-height: 1.5;
  max-width: 36ch;
  color: var(--graphite);
}

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

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * 0.6) 0; }

.grid { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1040px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--navy-deep);
  box-shadow: 0 16px 40px -16px rgba(15, 27, 61, 0.55), 0 2px 8px -4px rgba(15, 27, 61, 0.3);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(10, 10, 10, 0.18);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: #fff;
  box-shadow: 0 16px 40px -16px rgba(184, 146, 74, 0.55);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--rule);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-size: 1.05rem;
}

.brand__logo {
  display: block;
  height: 64px;
  width: auto;
  max-height: 72px;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
/* Tiny gold underline echoing the logo's two-color cross */
.brand__mark::after {
  content: '';
  position: absolute;
  inset: auto 6px 5px 6px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.brand__name { font-weight: 600; letter-spacing: -0.01em; }
.brand__name span { color: var(--navy); font-weight: 600; }

.nav__links {
  display: none;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  transition: right 0.4s var(--ease);
}

.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--ink); }

.nav__cta { display: none; }

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
@media (min-width: 880px) { .nav__toggle { display: none; } }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 88px 0 0 0;
  background: var(--ink);
  color: var(--cream);
  padding: 3rem var(--gutter);
  z-index: 40;
}
.nav__mobile.is-open { display: block; }
.nav__mobile ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.nav__mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.nav__mobile .nav__mobile-cta { margin-top: 2rem; }

/* ── Hero (homepage) ── */
.hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: end;
  }
}

.hero__display {
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 600;
}
.hero__display .it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--teal-deep);
  letter-spacing: -0.025em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero__display .amp {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 300;
}

.hero__meta {
  display: grid;
  gap: 1.5rem;
  align-self: end;
}

.hero__times {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}
.hero__times h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.hero__times ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.hero__times li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.6rem;
}
.hero__times .day { font-weight: 500; color: var(--ink); }
.hero__times .time {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.hero__address {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.5;
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__rule {
  margin-top: 4rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
}
@media (min-width: 720px) {
  .hero__rule { grid-template-columns: repeat(4, 1fr); }
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hero__stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero__stat .num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-deep);
}
.hero__stat .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 600;
}

/* ── Page header (interior pages) ── */
.page-header {
  background:
    radial-gradient(ellipse 80% 60% at 80% 25%, rgba(232, 169, 58, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 60% at 10% 75%, rgba(61, 183, 228, 0.22), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(46, 82, 144, 0.6), transparent 70%),
    var(--navy);
  color: #fff;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  opacity: 0.6;
}
.page-header .eyebrow { color: var(--gold-soft); }
.page-header .eyebrow::before { background: var(--teal); }
.page-header h1 {
  font-size: var(--fs-h1);
  margin: 1.25rem 0 1.5rem;
  max-width: 18ch;
  color: #fff;
}
.page-header h1 .it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--teal-soft);
  letter-spacing: -0.025em;
}
.page-header .lede { color: rgba(255, 255, 255, 0.78); max-width: 56ch; }

/* ── Cards ── */
.card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  /* Navy-tinted shadow */
  box-shadow:
    0 30px 60px -30px rgba(30, 58, 111, 0.35),
    0 8px 24px -12px rgba(30, 58, 111, 0.18);
  border-color: rgba(30, 58, 111, 0.25);
}

/* On dark sections, cards lift with a teal-tinted glow */
.bg-ink .card:hover {
  box-shadow:
    0 30px 60px -30px rgba(61, 183, 228, 0.45),
    0 8px 24px -12px rgba(61, 183, 228, 0.22);
  border-color: rgba(138, 212, 238, 0.4);
}

.card__num {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--navy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.card h3 + p { color: var(--graphite); }
.card__more {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card__more .arrow { transition: transform 0.4s var(--ease); }
.card:hover .card__more .arrow { transform: translateX(4px); }

/* ── Scripture block ── */
.scripture {
  background:
    radial-gradient(ellipse 50% 60% at 30% 30%, rgba(61, 183, 228, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 60% at 70% 70%, rgba(232, 169, 58, 0.16), transparent 60%),
    var(--navy-deep);
  color: #fff;
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.scripture::before,
.scripture::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 80%;
  max-width: 480px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  transform: translateX(-50%);
  opacity: 0.5;
}
.scripture::before { top: clamp(2.5rem, 5vw, 4rem); }
.scripture::after { bottom: clamp(2.5rem, 5vw, 4rem); }
.scripture blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2rem, 1.4rem + 3.5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.95);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.scripture blockquote::before,
.scripture blockquote::after {
  content: '"';
  color: var(--gold);
  font-style: italic;
  display: inline;
}
.scripture cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

/* ── Two-up split (e.g. welcome from pastor) ── */
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1.2fr; }
  .split--reverse { grid-template-columns: 1.2fr 1fr; }
}
.split__media {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: var(--navy);
}
.split__media .portrait {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(61, 183, 228, 0.32), transparent 60%),
    radial-gradient(ellipse at 30% 80%, rgba(232, 169, 58, 0.18), transparent 60%),
    linear-gradient(170deg, var(--navy-light) 0%, var(--navy-deep) 70%);
  position: relative;
}
.split__media .portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(61, 183, 228, 0.06) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(232, 169, 58, 0.05) 32px 33px);
  opacity: 0.7;
}
.split__media .portrait::after {
  content: 'JL';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 14vw, 12rem);
  color: rgba(244, 200, 121, 0.7);
  letter-spacing: -0.04em;
}
.split__media .badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: #fff;
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  border-radius: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 4px 16px -8px rgba(15, 27, 61, 0.4);
}

/* ── Timeline ── */
.timeline {
  display: grid;
  gap: 2rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 9px;
  width: 1px;
  background: var(--rule);
}
.timeline__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--navy);
  margin-top: 0.5rem;
  position: relative;
}
.timeline__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline__year {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.timeline__body h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.timeline__body p { color: var(--graphite); margin: 0; }

/* ── Marquee ── */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--bone);
}
.marquee__track {
  display: inline-flex;
  gap: 4rem;
  animation: scroll 38s linear infinite;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  font-weight: 600;
}
.marquee__track span em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--teal-deep);
  font-weight: 400;
}
.marquee__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  align-self: center;
  margin: auto 0;
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Section heads ── */
.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 880px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}
.section-head h2 { max-width: 14ch; }
.section-head .lede { max-width: 48ch; }

/* ── Footer ── */
.footer {
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(61, 183, 228, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(232, 169, 58, 0.08), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
}
.footer__top {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__display {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 14ch;
  color: #fff;
}
.footer__display .it {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--teal-soft);
  font-weight: 300;
  letter-spacing: -0.025em;
}

.footer__col h5 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--gold);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer__col a { color: var(--cream); opacity: 0.85; transition: opacity 0.3s var(--ease); }
.footer__col a:hover { opacity: 1; color: var(--gold); }
.footer__col p { color: var(--mist); margin: 0; line-height: 1.6; }

.footer__bottom {
  margin-top: clamp(3rem, 6vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--rule-on-ink);
  display: grid;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--mist);
}
@media (min-width: 720px) {
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}
.footer__bottom a { color: var(--mist); }
.footer__bottom a:hover { color: var(--gold); }

/* ── Reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

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

/* ── Forms ── */
.form {
  display: grid;
  gap: 1.25rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--navy);
}
.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--rule-strong);
  border-radius: 8px;
  background: var(--bone);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 27, 61, 0.12);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--oxblood);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--mist); }
.field textarea { min-height: 140px; resize: vertical; }

/* ── Misc ── */
.kicker-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.image-card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(61, 183, 228, 0.32), transparent 55%),
    radial-gradient(ellipse at 75% 75%, rgba(232, 169, 58, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy-light), var(--navy-deep));
}
.image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(61, 183, 228, 0.06) 28px 29px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(232, 169, 58, 0.05) 28px 29px);
  opacity: 0.6;
}
.image-card .label {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
}
.image-card .glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(5rem, 12vw, 10rem);
  color: rgba(138, 212, 238, 0.6);
  letter-spacing: -0.04em;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  background: var(--bone);
}

.bg-ink {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(61, 183, 228, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 60% at 0% 100%, rgba(232, 169, 58, 0.10), transparent 60%),
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(46, 82, 144, 0.5), transparent 70%),
    var(--navy);
  color: rgba(255, 255, 255, 0.92);
  position: relative;
}
/* Soft gradient bridge at the top */
.bg-ink::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}
.bg-ink .lede { color: var(--mist); }
.bg-ink .eyebrow { color: var(--gold-soft); }
.bg-ink .eyebrow::before { background: var(--teal); }
.bg-ink .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--rule-on-navy);
  color: rgba(255, 255, 255, 0.92);
}
.bg-ink .card h3 + p { color: rgba(255, 255, 255, 0.7); }
.bg-ink .card__more { color: var(--gold-soft); }
.bg-ink .card__num { color: var(--gold-soft); }

/* Fix dark-on-dark text bleed inside bg-ink (navy) sections */
.bg-ink .timeline__body p,
.bg-ink .expect__row p,
.bg-ink p { color: rgba(255, 255, 255, 0.78); }
.bg-ink .timeline__body h4,
.bg-ink .expect__row h4 { color: #fff; }
.bg-ink .timeline__year { color: var(--gold-soft); }
.bg-ink .timeline::before { background: var(--rule-on-navy); }
.bg-ink .timeline__dot { background: var(--navy-deep); border-color: rgba(255, 255, 255, 0.4); }
.bg-ink .expect__row,
.bg-ink .timeline__item .timeline__body { border-color: var(--rule-on-navy); }
.bg-ink .expect__row { border-top-color: var(--rule-on-navy); }

/* Address postcard */
.postcard {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(15, 27, 61, 0.04);
}
.postcard__line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.85rem;
}
.postcard__line:last-of-type { border-bottom: 0; }
.postcard__line dt {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  align-self: center;
  margin: 0;
}
.postcard__line dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.4;
}

/* Beliefs list */
.beliefs {
  display: grid;
  gap: 1.25rem;
  counter-reset: belief;
}
.belief {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.belief::before {
  counter-increment: belief;
  content: counter(belief, decimal-leading-zero);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}
.belief h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.belief p { color: var(--graphite); margin: 0; }

/* CTA banner */
.cta-banner {
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(61, 183, 228, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(232, 169, 58, 0.08), transparent 60%),
    var(--paper);
  border-radius: 18px;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 1.5rem;
  border: 1px solid var(--rule);
}
@media (min-width: 880px) {
  .cta-banner {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}
.cta-banner h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); max-width: 18ch; }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Map block */
.map-frame {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--graphite);
  position: relative;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }
.map-frame .pin {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -100%);
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--navy);
  color: var(--gold-soft);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* Visit / What to expect */
.expect {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.expect__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .expect__row { grid-template-columns: 0.6fr 1fr; }
}
.expect__row h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.expect__row p { color: var(--slate); margin: 0; max-width: 56ch; }

/* Give cards */
.give-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .give-grid { grid-template-columns: repeat(3, 1fr); }
}
.give-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 2rem;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(15, 27, 61, 0.04);
}
.give-card.is-feature {
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(61, 183, 228, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(232, 169, 58, 0.15), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, 0.92);
  border-color: var(--navy);
}
.give-card.is-feature h3 { color: #fff; }
.give-card.is-feature p { color: rgba(255, 255, 255, 0.78); }
.give-card .amount {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-style: italic;
  color: var(--navy);
  letter-spacing: -0.025em;
  font-weight: 300;
}
.give-card.is-feature .amount { color: var(--gold-soft); }

/* Ministry rows */
.ministry-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 880px) {
  .ministry-row { grid-template-columns: 80px 0.8fr 1.2fr 120px; gap: 2.5rem; align-items: start; }
}
.ministry-row__num {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.ministry-row__title h3 { font-size: 1.6rem; margin-bottom: 0.5rem; font-weight: 600; }
.ministry-row__title .meta {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 600;
}
.ministry-row__body p { color: var(--slate); }
.ministry-row__action { display: flex; align-items: center; }
.ministry-row__action a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ministry-row__action a:hover { color: var(--gold-deep); border-bottom-color: var(--navy); }

/* Hide scroll skeleton on mobile if needed */
@media (max-width: 540px) {
  .hero__display { letter-spacing: -0.025em; }
}

/* ============================================================
   Give page — "How to Give" cream-on-cream emphasized panel
   ============================================================ */
.section--howtogive {
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(232, 169, 58, 0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(61, 183, 228, 0.10), transparent 60%),
    var(--bone);
  position: relative;
}
.section--howtogive::before,
.section--howtogive::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 70%;
  max-width: 520px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  transform: translateX(-50%);
  opacity: 0.5;
}
.section--howtogive::before { top: 0; }
.section--howtogive::after { bottom: 0; }
.section--howtogive .card {
  background: var(--cream);
  border-color: var(--rule);
}

/* ============================================================
   View Transitions API — smooth cross-page navigation
   ============================================================ */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-fade-out 280ms cubic-bezier(0.4, 0, 1, 1) both;
}
::view-transition-new(root) {
  animation: vt-fade-in 360ms cubic-bezier(0, 0, 0.2, 1) both;
}

@keyframes vt-fade-out {
  to { opacity: 0; transform: translateY(-8px); }
}
@keyframes vt-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Persistent navigation across transitions — distinct names per element */
.nav { view-transition-name: site-nav; }
.footer { view-transition-name: site-footer; }

/* ============================================================
   Micro-animations — small touches that make the site feel alive
   ============================================================ */

/* Brand mark gentle scale + glow on hover */
.brand:hover .brand__mark {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(184, 146, 74, 0.2);
}
.brand__mark { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }

/* Card __num shifts subtly on card hover */
.card:hover .card__num,
.give-card:hover .tag { transform: translateX(2px); }
.card__num, .give-card .tag { transition: transform 0.4s var(--ease); }

/* Eyebrow line draw-in when revealed */
.reveal .eyebrow::before {
  width: 0;
  transition: width 0.9s 0.2s var(--ease);
}
.reveal.is-in .eyebrow::before { width: 28px; }

/* Hero stat numbers — gentle staggered reveal already handled by .reveal,
   add a soft float on the italicized fragments */
.hero__stat .num em {
  display: inline-block;
  animation: gentle-float 6s ease-in-out infinite;
}
.hero__stat:nth-child(2) .num em { animation-delay: 0.6s; }
.hero__stat:nth-child(3) .num em { animation-delay: 1.2s; }
.hero__stat:nth-child(4) .num em { animation-delay: 1.8s; }

@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Scripture marks — gentle pulse on the gold quotation marks */
.scripture blockquote::before,
.scripture blockquote::after {
  display: inline-block;
  animation: scripture-breathe 5s ease-in-out infinite;
}
.scripture blockquote::after { animation-delay: 2.5s; }

@keyframes scripture-breathe {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

/* Image-card glyph gentle float */
.image-card .glyph,
.split__media .portrait::after {
  animation: glyph-drift 9s ease-in-out infinite;
}
@keyframes glyph-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, -6px); }
}

/* Service time list — subtle row hover lift */
.hero__times li {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__times li:hover {
  transform: translateX(4px);
  border-bottom-color: var(--gold);
}

/* Postcard line hover */
.postcard__line {
  transition: transform 0.3s var(--ease);
}
.postcard__line:hover { transform: translateX(2px); }

/* Tag hover lift */
.tag {
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
a.tag:hover {
  transform: translateY(-1px);
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* Ministry row chevron pull on hover */
.ministry-row {
  transition: background 0.4s var(--ease);
}
.ministry-row:hover { background: rgba(200, 163, 95, 0.04); }
.ministry-row__action a {
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}
.ministry-row:hover .ministry-row__action a { letter-spacing: 0.01em; }

/* CTA banner — subtle inner glow on hover */
.cta-banner {
  transition: background 0.6s var(--ease);
}
.cta-banner:hover {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(200, 163, 95, 0.12), transparent 60%),
    var(--paper);
}

/* Reduced-motion overrides everything */
@media (prefers-reduced-motion: reduce) {
  .hero__stat .num em,
  .scripture blockquote::before,
  .scripture blockquote::after,
  .image-card .glyph,
  .split__media .portrait::after { animation: none; }
}

/* ============================================================
   Mobile tuning — phones (<= 720px) and small phones (<= 480px)
   ============================================================ */

@media (max-width: 720px) {
  /* Tighter section padding on phones */
  .section { padding: clamp(3rem, 8vw, 5rem) 0; }

  /* Hero — display wraps naturally, no overflow */
  .hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
  .hero__inner { gap: 2rem; }
  .hero__display {
    font-size: clamp(2.75rem, 1.75rem + 7vw, 5rem);
    letter-spacing: -0.025em;
    line-height: 1;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .hero__rule {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
    margin-top: 2.5rem;
  }
  .hero__stat .num { font-size: 1.6rem; }
  .hero__stat .label { font-size: 0.7rem; }
  .hero__stat {
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--rule);
  }
  .hero__stat:nth-last-child(-n+2) { border-bottom: 0; }

  /* Hero service-times list: when day is long, wrap day above time */
  .hero__times li {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }
  .hero__times li .day { flex: 1 1 auto; min-width: 0; }
  .hero__times li .time { flex: 0 0 auto; font-size: 0.95rem; }

  /* Page header — less giant on phones */
  .page-header {
    padding-top: clamp(3.5rem, 8vw, 5.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
  }
  .page-header h1 {
    font-size: clamp(2.25rem, 1.5rem + 5vw, 3.75rem);
    line-height: 1.05;
    max-width: none;
  }

  /* Cards — tighter padding on phones */
  .card { padding: 1.5rem; gap: 0.85rem; border-radius: 14px; }
  .give-card { padding: 1.5rem; }

  /* Section heads stack cleanly */
  .section-head { gap: 0.75rem; margin-bottom: 2.5rem; }

  /* Postcard tighter columns */
  .postcard { padding: 1.5rem; }
  .postcard__line {
    grid-template-columns: 80px 1fr;
    gap: 0.85rem;
  }
  .postcard__line dt { font-size: 0.65rem; letter-spacing: 0.14em; }
  .postcard__line dd { font-size: 1rem; line-height: 1.35; }

  /* Scripture sized for narrow screens */
  .scripture { padding: clamp(3.5rem, 9vw, 7rem) 0; }
  .scripture blockquote {
    font-size: clamp(1.6rem, 1.1rem + 4vw, 3rem);
    max-width: 90%;
  }

  /* Beliefs — smaller number column */
  .belief {
    grid-template-columns: 36px 1fr;
    gap: 0.85rem;
    padding: 1.25rem 0;
  }
  .belief h4 { font-size: 1.2rem; }

  /* Timeline — keep alignment tight */
  .timeline { gap: 1.25rem; }
  .timeline__item { gap: 1rem; grid-template-columns: 28px 1fr; }
  .timeline__year { font-size: 0.95rem; }
  .timeline__body h4 { font-size: 1.2rem; }

  /* Ministry rows — tighter heading + meta on phones */
  .ministry-row { padding: 1.75rem 0; gap: 0.85rem; }
  .ministry-row__num { font-size: 1.05rem; opacity: 0.8; }
  .ministry-row__title h3 { font-size: 1.5rem; line-height: 1.15; }
  .ministry-row__title .meta { font-size: 0.7rem; }

  /* CTA banner — readable + reasonable padding on small screens */
  .cta-banner { padding: 1.75rem; gap: 1rem; }
  .cta-banner h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem); max-width: none; }
  .cta-banner .actions .btn { width: 100%; justify-content: center; }

  /* Footer — display headline scales down */
  .footer { padding-top: clamp(3rem, 8vw, 5rem); }
  .footer__display { font-size: clamp(1.7rem, 1.2rem + 3vw, 2.6rem); max-width: none; }
  .footer__top { gap: 2rem; }

  /* Section bridges (gold rules) — narrower so they don't bleed off */
  .section--howtogive::before,
  .section--howtogive::after,
  .scripture::before,
  .scripture::after { width: 60%; max-width: 320px; }

  /* View transitions feel snappier on mobile */
  ::view-transition-old(root) { animation-duration: 220ms; }
  ::view-transition-new(root) { animation-duration: 280ms; }

  /* Map height proportionate */
  .map-frame { aspect-ratio: 4 / 3; }

  /* Image cards — slightly less tall on phones so they don't dominate */
  .image-card { aspect-ratio: 4 / 4.5; }
  .image-card .label { font-size: 1.1rem; inset: auto 1rem 1rem 1rem; }
  .image-card .glyph { font-size: clamp(4rem, 14vw, 7rem); }

  /* Split media tightens */
  .split__media .badge { font-size: 0.65rem; bottom: 0.85rem; left: 0.85rem; }
}

@media (max-width: 480px) {
  /* Even tighter for small phones */
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Hero display fits */
  .hero__display { font-size: clamp(2.25rem, 1.5rem + 7vw, 4rem); }

  /* Hero stats single column at narrowest widths */
  .hero__rule { grid-template-columns: 1fr; }
  .hero__stat:nth-last-child(-n+2) { border-bottom: 1px dashed var(--rule); }
  .hero__stat:last-child { border-bottom: 0; }

  /* Brand fits narrower screens */
  .brand__mark { width: 32px; height: 32px; font-size: 1rem; }
  .brand__logo { height: 48px; }
  .brand__name { font-size: 0.95rem; }
  .nav__inner { height: 72px; gap: 1rem; }
  .nav__mobile { inset: 72px 0 0 0; padding: 2.5rem var(--gutter); }
  .nav__mobile a { font-size: 1.6rem; }

  /* Form inputs — 16px font prevents iOS auto-zoom on focus */
  .field input,
  .field textarea,
  .field select { font-size: 16px; padding: 0.85rem 0.95rem; }
  .field label { font-size: 0.68rem; }

  /* Scripture even tighter */
  .scripture blockquote { font-size: clamp(1.4rem, 1rem + 4vw, 2.4rem); }

  /* Footer single-column already from 720, but tighten gap */
  .footer__bottom { font-size: 0.75rem; }

  /* CTA banner padding */
  .cta-banner { padding: 1.5rem; border-radius: 14px; }

  /* Page-header h1 wraps comfortably */
  .page-header h1 { font-size: clamp(2rem, 1.4rem + 4.5vw, 3rem); }

  /* Postcard at narrowest — labels above values for legibility */
  .postcard__line {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-bottom: 0.85rem;
  }

  /* Ministry row stacking — keep tight */
  .ministry-row__action a { font-size: 1rem; }

  /* Hero CTAs full-width for thumb reach */
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Visit + Contact: tag chips wrap nicely */
  .tag { font-size: 0.68rem; }
}

/* Touch devices: lighten the hover-only effects so it doesn't look stuck */
@media (hover: none) {
  .card:hover,
  .give-card:hover,
  .ministry-row:hover {
    transform: none;
    box-shadow: none;
  }
  .btn:hover { transform: none; box-shadow: none; }
}


/* ============================================================
   Real photo overrides for placeholder cards
   ============================================================ */
.split__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.image-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 0;
}
.image-card--photo { background: #000; }
.image-card--photo::before { display: none; }
.image-card--photo .label { z-index: 1; }
.image-card--photo .label::before {
  content: '';
  position: absolute;
  inset: -3rem -1.25rem -1.25rem -1.25rem;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.55));
  z-index: -1;
  pointer-events: none;
  border-radius: 0 0 14px 14px;
}
/* Ensure badge on the welcome-from-pastor split sits above the photo */
.split__media .badge { z-index: 1; }
