/* ==========================================================================
   Houghton Lake Baptist Church: site styles
   Socoz CMS v3.1 build. Brand palette locked from HLBC Branding Elements.
   Design language: warm, welcoming, rounded, generous whitespace. Flat
   colors only (no gradients), soft shadows, a hand-drawn wave motif pulled
   from the church icon as the one recurring decorative element.
   ========================================================================== */

:root {
  color-scheme: light;
  --off-white: #fffcf9;   /* page ground */
  --tan: #decdbd;         /* soft card / alt-section background */
  --light-blue: #6f8eb2;  /* accent text on navy only (fails AA on tan/off-white/dark-green) */
  --dark-green: #294246;  /* alt section band */
  --navy: #002343;        /* header / footer / dark band */
  --darkest-blue: #031524;/* primary ink */
  --orange: #D19E7D;      /* the one CTA color, FILLS only (dark text sits on it) */
  --orange-deep: #b97e5d; /* CTA hover FILL only; fails AA as text on light grounds */
  /* Accent INK steps. Same OKLCH hue and chroma as the brand colors above,
     lightness lowered/raised until they clear WCAG AA as text. Brand-faithful
     (identical hue family) without the legibility cost of using a fill color
     as type. Use these whenever an accent has to be *read* rather than seen. */
  --orange-ink: #76492a;       /* orange hue @ L.45, 4.9:1 on tan, 7.5:1 on off-white */
  --accent-blue-ink: #3a5778;  /* light-blue hue @ L.45, 4.8:1 on tan, 7.3:1 on off-white */
  --accent-blue-soft: #91b1d7; /* light-blue hue @ L.75, 4.8:1 on dark green, 7.2:1 on navy */
  --ink: var(--darkest-blue);
  --bg: var(--off-white);
  --shadow-soft: 0 10px 30px rgba(3, 21, 36, .10);
  --shadow-softer: 0 6px 18px rgba(3, 21, 36, .07);
  /* Compatibility aliases for the dormant blog templates (article.css /
     articles.php / article.php) inherited from the CMS core, so they don't
     render with undefined-variable fallbacks if a future post is published. */
  --gold: var(--orange);
  --gray: #5c6b73;
  --navy-2: var(--tan);
  --navy-3: var(--tan);
  --font-cond: var(--font-body);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  /* Code Pro is an all-caps-only display face (confirmed by rendering) , 
     right for headlines and short branded UI text, wrong for paragraphs.
     --font-accent carries the branded caps voice on short UI elements;
     --font-body (Inter, self-hosted) carries actual reading copy. */
  --font-display: 'Code Pro Black', 'Arial Black', 'Helvetica Neue', sans-serif;
  --font-accent: 'Code Pro', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

@font-face { font-family: 'Code Pro Black'; font-style: normal; font-weight: 900; font-display: swap; src: url('/assets/fonts/code-pro-black-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Code Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/code-pro-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/inter-var.woff2') format('woff2'); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-body); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
::selection { background: var(--orange); color: var(--off-white); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Skip link: off-screen until focused, then pinned over the sticky nav. */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1100; background: var(--orange); color: var(--darkest-blue); font-family: var(--font-accent); padding: .8em 1.4em; border-radius: 0 0 var(--radius-sm) 0; text-decoration: none; }
.skip-link:focus { left: 0; }

/* ============ UTILITIES ============ */
.kicker { display: inline-block; font-family: var(--font-accent); font-weight: 400; font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-blue-ink); margin-bottom: .9rem; }
/* The brand book uses Light Blue for every eyebrow label, so the site keeps
   that signature, but #6f8eb2 itself only clears AA on navy (4.68:1); it fails
   on off-white (3.32), dark green (3.15) and tan (2.19) at this 13px size. The
   two ink steps hold the same hue and swap lightness by ground instead. */
.on-dark .kicker, .hero .kicker, .page-hero .kicker { color: var(--accent-blue-soft); }
.section-head { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; margin-bottom: 2.6rem; max-width: 720px; }
.section-head.center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.section-intro { color: var(--darkest-blue); opacity: .78; max-width: 62ch; font-size: 1.08rem; }
.on-dark .section-intro { color: var(--off-white); opacity: .85; }
.on-dark .section-title, .on-dark p, .on-dark h3, .on-dark h4 { color: var(--off-white); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--font-accent); font-weight: 400; letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; border-radius: 999px; padding: .95em 1.8em; font-size: 1rem; cursor: pointer; transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--orange); color: var(--darkest-blue); }
.btn-accent:hover { background: var(--orange-deep); }
.btn-ghost { border-color: currentColor; background: transparent; color: var(--off-white); }
.btn-ghost:hover { background: rgba(255, 252, 249, .12); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: var(--off-white); }

/* Height tracks the logo wave's true proportion (~10% of width), clamped
   so it stays gentle on phones and doesn't swallow the hero on desktop.
   position+z-index lift it above the absolutely-positioned hero photo. */
.wave-divider { display: block; width: 100%; height: clamp(48px, 9.5vw, 132px); position: relative; z-index: 1; }
/* Seam guard. The hero's height is fractional (e.g. 796.83px), so its bottom
   edge lands mid-pixel; the wave SVG is clipped by the hero's overflow:hidden
   at that fractional edge and its bottom row ends up partially transparent,
   letting the navy underneath bleed through as a grey hairline across the full
   page width. Pulling the following section up one pixel and lifting it above
   the wave covers that row with opaque off-white.
   z-index must beat .wave-divider's 1; margin-top must match the 1px overlap. */
.hero + main > section:first-child { position: relative; z-index: 2; margin-top: -1px; }
.wave-divider path { fill: var(--off-white); }
.wave-divider.into-tan path { fill: var(--tan); }
.wave-divider.into-green path { fill: var(--dark-green); }
.wave-divider.into-off path { fill: var(--off-white); }

/* ============ ANNOUNCEMENT BANNER + NAV ============ */
/* CMS-driven (site_settings announcement_*); renders only when active. */
.announcement-banner { padding: .8rem 1rem; text-align: center; font-family: var(--font-accent); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; position: relative; z-index: 1001; }
.announcement-banner a { color: inherit; text-decoration: underline; }
.announcement-banner a:hover { opacity: .85; }

.site-nav { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; background: var(--navy); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: .9rem 24px; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; }
.nav-toggle { flex-shrink: 0; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a { font-family: var(--font-accent); font-weight: 400; font-size: .98rem; letter-spacing: .02em; text-decoration: none; color: var(--off-white); opacity: .85; padding: .3em 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--orange); border-bottom-color: var(--orange); }
/* Give: decorative outline pill (future Tithely link) */
.nav-links a.nav-give { border: 2px solid var(--orange); border-radius: 999px; padding: .35em 1.1em; color: var(--orange); opacity: 1; }
.nav-links a.nav-give:hover { background: var(--orange); color: var(--navy); border-bottom-color: transparent; }
/* Placeholder state while HLBC_GIVE_URL is unset: same pill, but not a link,
   so it is never focusable and never scrolls the page to the top. */
.nav-links .nav-give.is-pending { display: inline-block; border: 2px dashed rgba(209, 158, 125, .55); border-radius: 999px; padding: .35em 1.1em; font-family: var(--font-accent); font-size: .98rem; color: var(--tan); cursor: default; }
.nav-cta { padding: .7em 1.5em; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 2px solid var(--off-white); color: var(--off-white); border-radius: 999px; font-family: var(--font-accent); font-size: .95rem; padding: .5em 1.1em; min-height: 44px; cursor: pointer; }

/* ============ HERO ============ */
.hero { position: relative; background: var(--navy); padding: 5rem 0 0; overflow: hidden; }
/* Photo layer + flat navy overlay (no gradients) keeps text legible. */
.hero-photo { position: absolute; inset: 0; }
/* The photo is a real <img> with a srcset (900 px for phones, 1800 px above):
   on Lighthouse's throttled mobile profile the full-size photo put LCP at
   2.6 s, over v4's 2.5 s gate. An <img> is also the shape Socoz CMS v4's
   cms_image helper emits, so the template already has v4's form. The scrim
   stays a ::after on this wrapper; a replaced element cannot carry one. */
.hero-photo img, .page-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Scrim strength is measured, not guessed: sampled against the brightest
   pixel in each photo, .82-opacity body copy needs .66 here and .70 on the
   page heroes to clear 4.5:1. These sit just above that, which keeps AA with
   headroom while letting the church's own photographs actually read, at the
   old .78/.82 the sunset was crushed to flat navy. Re-measure if a photo with
   large blown-out highlights replaces one of these. */
.hero-photo::after { content: ''; position: absolute; inset: 0; background: rgba(0, 35, 67, .72); }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px 5rem; }
.hero-icon { width: 84px; height: auto; margin: 0 auto 1.6rem; }
.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 6.5vw, 4.6rem); line-height: 1.04; color: var(--off-white); letter-spacing: -.01em; text-wrap: balance; }
/* No color here on purpose: `.hero p` below is more specific and already wins,
   so the tagline renders off-white. That is the accessible outcome, light-blue
   at the inherited .82 opacity over navy lands near 3.4:1 and fails AA, so do
   not "fix" this by raising specificity. */
.hero-tagline { font-family: var(--font-body); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 1.2rem auto 0; max-width: 56ch; }
.hero p { color: var(--off-white); opacity: .82; max-width: 56ch; margin: 1.1rem auto 0; font-size: 1.05rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2.2rem; }

/* ============ SERVICE TIMES BAND ============ */
.times { padding: 4rem 0 4.5rem; background: var(--off-white); }
.times-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.time-card { background: var(--tan); border-radius: var(--radius-md); padding: 1.6rem 1.3rem; text-align: center; box-shadow: var(--shadow-softer); }
.time-card b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--darkest-blue); }
.time-card span { display: block; margin-top: .5rem; font-size: .92rem; color: var(--dark-green); }

/* ============ SERMONS / SPOTIFY ============ */
.sermons { padding: 4.5rem 0; background: var(--tan); }
.sermons .section-head { margin-bottom: 2rem; }
.sermon-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--darkest-blue); }
.sermon-embed iframe { display: block; width: 100%; height: 352px; border: none; }
.sermons-note { margin-top: 1.1rem; font-size: .92rem; color: var(--dark-green); opacity: .85; }
.sermons-note a { color: var(--dark-green); text-decoration: underline; text-underline-offset: 2px; }

/* ============ WHAT TO EXPECT (FAQ) ============ */
.expect { padding: 5rem 0; background: var(--dark-green); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.faq-item { background: var(--off-white); border-radius: var(--radius-md); padding: 1.5rem 1.6rem; }
.faq-item h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.08rem; color: var(--darkest-blue); margin-bottom: .55rem; }
.faq-item p { color: var(--darkest-blue); opacity: .82; font-size: .98rem; }

/* ============ MINISTRIES ============ */
.ministries { padding: 5rem 0; background: var(--off-white); }
.ministry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
/* Photo sits flush to the card edge, so padding moves to .ministry-body and
   the radius clips the image. The 2px tan border then reads as the photo's
   frame rather than an outline around empty space. */
.ministry-card { background: var(--off-white); border: 2px solid var(--tan); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.ministry-media { aspect-ratio: 16 / 10; background: var(--tan); }
.ministry-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* No photograph yet: the brand mark on tan keeps the card the same shape as
   its neighbours, so a missing photo reads as deliberate rather than broken.
   Dark green on tan is 6.92:1, well clear even before the opacity knock-back. */
.ministry-media.is-mark { display: grid; place-items: center; }
.ministry-media.is-mark img { width: 36%; height: auto; object-fit: contain; opacity: .68; }
.ministry-body { padding: 1.5rem 1.6rem 1.7rem; }
.ministry-card h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; margin-bottom: .6rem; }
.ministry-card p { color: var(--darkest-blue); opacity: .78; font-size: .96rem; }

/* ============ UPCOMING EVENTS (ICS-fed calendar) ============ */
.events { padding: 5rem 0; background: var(--off-white); }
.event-list { display: grid; gap: .9rem; max-width: 860px; }
.event-row { display: grid; grid-template-columns: 76px 1fr; gap: 1.2rem; align-items: center; background: var(--tan); border-radius: var(--radius-md); padding: 1rem 1.4rem 1rem 1rem; box-shadow: var(--shadow-softer); }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); border-radius: var(--radius-sm); padding: .55rem 0 .5rem; }
.event-date b { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; line-height: 1; color: var(--off-white); }
.event-date span { font-family: var(--font-accent); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-top: .25rem; }
.event-info h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.08rem; color: var(--darkest-blue); }
.event-info p { color: var(--dark-green); font-size: .92rem; margin-top: .15rem; }

/* ============ VISIT: MAP + DIRECTIONS + FORM ============ */
.visit { padding: 5rem 0; background: var(--tan); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }
.visit-info h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; margin: 1.6rem 0 .5rem; }
.visit-info h3:first-child { margin-top: 0; }
.visit-info p, .visit-info a { color: var(--darkest-blue); font-size: 1rem; text-decoration: none; }
.visit-info a.big-link { display: inline-block; margin-top: .2rem; padding: .5em 0; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); margin-top: 1.6rem; }
.map-frame iframe { display: block; width: 100%; height: 260px; border: none; }

.vform { background: var(--off-white); border-radius: var(--radius-lg); padding: 2.2rem 2rem; box-shadow: var(--shadow-soft); }
.vform h3 { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; margin-bottom: 1.4rem; }
.fgroup { margin-bottom: 1.1rem; }
.fgroup label { display: block; font-size: .85rem; font-weight: 400; color: var(--dark-green); margin-bottom: .35rem; letter-spacing: .02em; }
.fgroup input, .fgroup select, .fgroup textarea { width: 100%; background: var(--off-white); border: 2px solid var(--tan); border-radius: var(--radius-sm); color: var(--darkest-blue); font-family: var(--font-body); font-size: 1rem; padding: .75em .9em; }
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus { outline: none; border-color: var(--orange); }
.fgroup textarea { min-height: 100px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: .9rem; padding: .8rem 1rem; font-size: .92rem; display: none; border-radius: var(--radius-sm); }
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(41, 66, 70, .1); color: var(--dark-green); }
.form-msg.err { background: rgba(209, 158, 125, .18); color: #8a4a2a; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); padding: 3.6rem 0 1.8rem; }
.foot-top { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; padding-bottom: 2rem; }
.foot-top img { height: 30px; width: auto; }
.foot-tag { font-family: var(--font-accent); font-size: .92rem; color: var(--light-blue); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 2.4rem; border-top: 1px solid rgba(255, 252, 249, .14); padding: 2rem 0; }
.foot-cols h6 { font-family: var(--font-accent); font-weight: 400; letter-spacing: .2em; text-transform: uppercase; font-size: .72rem; color: var(--light-blue); margin-bottom: .8rem; }
.foot-cols p, .foot-cols a { display: block; color: var(--off-white); opacity: .82; font-size: .94rem; text-decoration: none; margin-bottom: .4rem; }
.foot-cols a:hover { opacity: 1; color: var(--orange); }
.foot-base { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 252, 249, .14); padding-top: 1.3rem; }
.foot-base p, .foot-base a { color: var(--off-white); opacity: .6; font-size: .8rem; text-decoration: none; }
.foot-base a:hover { opacity: .9; }

/* ============ SUBPAGES ============ */
.page-hero { position: relative; background: var(--navy); padding: 4.5rem 0 3.5rem; text-align: center; overflow: hidden; }
.page-hero-photo { position: absolute; inset: 0; }   /* <img> inside, see .hero-photo */
.page-hero-photo::after { content: ''; position: absolute; inset: 0; background: rgba(0, 35, 67, .74); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--off-white); }
.page-hero p { color: var(--off-white); opacity: .82; max-width: 60ch; margin: 1rem auto 0; }

.page-body { padding: 4.5rem 0 5rem; }
.prose-block { max-width: 760px; margin: 0 auto 3.5rem; }
.prose-block h2 { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; margin-bottom: .9rem; }
.prose-block p { margin-bottom: 1rem; color: var(--darkest-blue); opacity: .85; }
.prose-block p:last-child { margin-bottom: 0; }

.timeline { max-width: 760px; margin: 0 auto 3.5rem; border-top: 1px solid var(--tan); }
.timeline-row { display: grid; grid-template-columns: 110px 1fr; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--tan); }
.timeline-row b { font-family: var(--font-display); font-weight: 900; color: var(--orange-ink); font-size: 1.1rem; }
.timeline-row p { color: var(--darkest-blue); opacity: .85; }

.doctrine-list { max-width: 760px; margin: 0 auto 3.5rem; display: grid; gap: .9rem; }
.doctrine-item { background: var(--tan); border-radius: var(--radius-md); padding: 1.2rem 1.5rem; display: flex; gap: 1rem; align-items: baseline; }
.doctrine-item b { font-family: var(--font-display); font-weight: 900; color: var(--orange-ink); flex: none; }
.doctrine-item p { color: var(--darkest-blue); font-size: .96rem; }

.pastor-card { max-width: 760px; margin: 0 auto 3.5rem; display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; background: var(--off-white); border: 2px solid var(--tan); border-radius: var(--radius-lg); padding: 2rem; }
.pastor-photo { aspect-ratio: 1 / 1; border-radius: var(--radius-md); background: var(--tan); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pastor-photo img { width: 100%; height: 100%; object-fit: cover; }
.pastor-photo .photo-placeholder { font-family: var(--font-body); font-size: .82rem; color: var(--dark-green); text-align: center; padding: 1rem; }
.pastor-card h2 { font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; margin-bottom: .3rem; }
.pastor-card .role { color: var(--orange-ink); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.pastor-card p { color: var(--darkest-blue); opacity: .85; font-size: .96rem; margin-bottom: .6rem; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; padding: 6rem 0; }
.notfound .wrap { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.notfound b { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 16vw, 10rem); color: var(--tan); }
.notfound h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.notfound p { color: var(--darkest-blue); opacity: .8; max-width: 48ch; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 0 1rem; display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .8rem 24px; border-bottom: none; }
  .nav-links a.nav-give { display: inline-block; margin: .6rem 24px .2rem; padding: .45em 1.4em; }
  .nav-toggle { display: block; }
  .times-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid, .visit-grid, .ministry-grid { grid-template-columns: 1fr; }
  .pastor-card { grid-template-columns: 1fr; }
  .pastor-photo { max-width: 220px; margin: 0 auto; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .foot-cols { grid-template-columns: 1fr; }
  /* Footer + contact links double as tap-to-call / mailto targets; give them
     a 44px hit area on phones (they measured 20-24px). */
  .foot-cols a, .visit-info p a { display: inline-block; padding: .55em 0; }
  .vform { padding: 1.6rem; }
  .nav-logo img { height: 28px; }
  .doctrine-item { flex-direction: column; gap: .4rem; }
  /* CTA pill + hamburger + logo don't all fit at phone widths; the CTA
     is still reachable via the hero button and the Contact nav link. */
  .nav-cta { display: none; }
}

/* ============ MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
