/* Bean Creek MBC, Cinematic Night (round 2). Navy ink surfaces, white type, one gold light, sky blue links. */

@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0A0F1F;
  --ink-2: #111827;
  --ink-3: #172033;
  --ink-4: #1E2A44;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #FFFFFF;
  --muted: #C5CDDD;
  --gold: #F5C451;
  --gold-soft: #FFE19A;
  --sky: #60A5FA;
  --sky-soft: #93C5FD;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 11vw, 9.5rem);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--ink); }
body {
  margin: 0; overflow-x: clip;
  background: var(--ink); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-soft); text-underline-offset: 0.2em; text-decoration-thickness: 0.08em; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; font-style: normal; line-height: 1.04; letter-spacing: -0.01em; margin: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.6rem, 6.2vw, 5rem); text-wrap: balance; }
.sec-head h2 { margin-bottom: 1.3rem; }
h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: 0.7rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.eyebrow { font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.1rem; display: flex; align-items: center; gap: 0.8rem; }
.eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: var(--gold); flex: none; }
.lead { font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.55; color: #fff; }
.muted { color: var(--muted); }
.tbc, .placeholder { color: var(--gold-soft); font-weight: 700; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.4rem; padding: 0.7rem 1.6rem; border-radius: 999px;
  font: 700 1rem/1.1 var(--font-body); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s, background-color 0.35s, color 0.35s, border-color 0.35s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 0 0 0 rgba(245,196,81,0), 0 10px 40px -8px rgba(245,196,81,0.55); }
.btn-gold:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(245,196,81,0.22), 0 14px 50px -6px rgba(245,196,81,0.75); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; transform: translateY(-2px); }
.btn-sky { background: transparent; color: var(--sky-soft); border-color: rgba(96,165,250,0.6); }
.btn-sky:hover { background: rgba(96,165,250,0.14); color: #fff; border-color: var(--sky); transform: translateY(-2px); }
.btn-lg { min-height: 4.2rem; padding: 0.9rem 2.4rem; font-size: 1.2rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 0.4s, box-shadow 0.4s, transform 0.4s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -1.5rem 0; background: linear-gradient(180deg, rgba(10,15,31,0.8), rgba(10,15,31,0)); pointer-events: none; transition: opacity 0.4s; }
.site-header.is-solid { background: rgba(10,15,31,0.96); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 0; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.6rem; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1; }
.nav .brand { justify-content: center; min-height: 3rem; }
.brand-name { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 1rem; color: var(--muted); letter-spacing: 0.02em; margin-top: 0.15rem; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 0.5rem 0.1rem; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--gold); color: #fff; }
.nav-links a:not(.btn) { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; min-width: 3rem; }
.nav-links .btn { border-bottom: 2px solid transparent; min-height: 3rem; padding: 0.45rem 1.4rem; }
.nav-links .btn:hover { border-bottom-color: transparent; }
.nav-links a.btn-gold, .nav-links a.btn-gold:hover { color: var(--ink); }
.menu-btn, .nav-actions { display: none; }
.nav-links .nav-sub { display: none; }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--ink); overflow: clip; }
.hero-stage { position: absolute; inset: 0; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 45%, rgba(96,165,250,0.16), rgba(10,15,31,0) 70%); pointer-events: none; }
.hero-image { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-clip { position: absolute; inset: 0; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-image .shade { position: absolute; inset: 0; background:
  radial-gradient(60% 38% at 50% 40%, rgba(10,15,31,0.5), rgba(10,15,31,0) 100%),
  linear-gradient(180deg, rgba(10,15,31,0.55) 0%, rgba(10,15,31,0) 20%, rgba(10,15,31,0.05) 50%, rgba(10,15,31,0.7) 80%, rgba(10,15,31,0.94) 100%); }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-window { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; transform-origin: 50% 45%; overflow: visible; }
.hero-window .w-line { fill: none; stroke: var(--gold-soft); stroke-linejoin: round; }
.hero-window .w-line.l1 { stroke-width: 34; opacity: 0.1; }
.hero-window .w-line.l2 { stroke-width: 16; opacity: 0.22; }
.hero-window .w-line.l3 { stroke-width: 5; opacity: 0.6; }
.hero-window .w-line.l4 { stroke-width: 2.2; stroke: #FFF6DA; }
.hero-window .w-cross rect { fill: #FFF3CF; }
.hero-window .w-cross .g1 { opacity: 0.12; }
.hero-window .w-cross .g2 { opacity: 0.3; }
.hero-halo { position: absolute; z-index: 2; left: 50%; top: 45%; width: min(90vw, 900px); aspect-ratio: 1; margin: calc(min(90vw, 900px) / -2) 0 0 calc(min(90vw, 900px) / -2);
  background: radial-gradient(closest-side, rgba(255,236,170,0.55), rgba(245,196,81,0.18) 40%, rgba(245,196,81,0) 70%); pointer-events: none; }
.hero-intro { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(6rem, 15vh, 9rem); text-align: center; padding-inline: var(--gutter); pointer-events: none; }
.hero-intro .k { font-weight: 700; font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.hero-intro .line { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.08; max-width: 18ch; margin: 0 auto; text-wrap: balance; }
.hero-cue { position: absolute; z-index: 4; left: 0; right: 0; bottom: 1.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.hero-cue i { width: 2px; height: 2.4rem; background: linear-gradient(180deg, var(--gold), rgba(245,196,81,0)); display: block; transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.hero-title { position: absolute; z-index: 4; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 5rem var(--gutter) 15rem; pointer-events: none; }
/* QA fix: the eyebrow sits over the pink sunrise sky. White type on a soft navy scrim keeps AA in every frame. */
.hero-title .where { display: inline-block; font-weight: 700; font-size: 1rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin: 0 0 1.2rem;
  padding: 0.45rem 1.1rem; border-radius: 999px; background: rgba(10,15,31,0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 10px 40px -6px rgba(10,15,31,0.75); text-shadow: 0 1px 8px rgba(10,15,31,0.6); }
/* text in the hero can be picked in the editor preview; the stage itself stays click-through */
.hero-intro p, .hero-title .where, .hero-title h1, .hero-title .promise { pointer-events: auto; }
.hero-title h1 { font-size: clamp(4.4rem, 13.5vw, 11.5rem); line-height: 0.88; letter-spacing: -0.025em; }
.hero-title h1 .sub { display: block; font-family: var(--font-body); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.75rem); letter-spacing: 0.22em; text-transform: uppercase; line-height: 1.3; margin-top: 1.4rem; }
.hero-title .promise { font-size: clamp(1.25rem, 2vw, 1.6rem); max-width: 34ch; margin: 1.6rem auto 0; color: #fff; text-shadow: 0 2px 22px rgba(10,15,31,0.85); text-wrap: balance; }
.mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.mask > span { display: block; }

.hero-bar { position: absolute; z-index: 5; left: 0; right: 0; margin-inline: auto; bottom: clamp(1rem, 3.4vh, 2rem); width: min(100% - 2 * var(--gutter), 1240px);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 1.2rem 1rem 2rem;
  background: rgba(10,15,31,0.58); -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 26px; box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.18); }
.times { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.time { display: flex; flex-direction: column; line-height: 1.1; }
.time b { font-family: var(--font-display); font-weight: 400; white-space: nowrap; font-size: clamp(1.9rem, 2.8vw, 2.5rem); color: var(--gold); letter-spacing: -0.01em; }
.time span { font-size: 1rem; color: #fff; margin-top: 0.15rem; }
.time b span { font-size: inherit; color: inherit; margin-top: 0; }
.times .sep { width: 1px; align-self: stretch; background: var(--line-strong); }
.times .addr { white-space: nowrap; font-size: 1rem; color: #fff; line-height: 1.35; }
.times .addr a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.times .addr a:hover { border-bottom-color: var(--gold); }
.bar-cta { display: flex; gap: 0.7rem; flex-wrap: nowrap; }

html.rm .hero { height: auto; min-height: 100svh; }
html.rm #field, html.rm .hero-cue, html.rm .hero-intro, html.rm .hero-halo { display: none; }

/* Sections */
section { position: relative; }
.sec { padding-block: var(--section); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head p { color: var(--muted); font-size: 1.15rem; }
.on-2 { background: var(--ink-2); }
.ring-bg { position: absolute; inset: 0; pointer-events: none; overflow: clip; }

/* Welcome */
.welcome { background: var(--ink); overflow: clip; }
.welcome::before { content: ""; position: absolute; left: -10%; top: 10%; width: 60vw; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(96,165,250,0.12), rgba(96,165,250,0)); pointer-events: none; }
.welcome-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.welcome h2 { margin-bottom: 1.6rem; }
.welcome .lead { max-width: 36rem; }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.4rem; }
.pillar { border-top: 2px solid var(--gold); padding-top: 1rem; }
.pillar h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.pillar p { margin: 0; color: #fff; }
.pastor-card { background: var(--ink-3); border: 1px solid var(--line); border-radius: 32px; padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; }
.pastor-card .arch { width: 240px; height: 320px; border-radius: 120px 120px 14px 14px; overflow: hidden; margin: 0 auto 1.6rem; position: relative; box-shadow: 0 0 0 2px var(--gold), 0 0 0 10px rgba(245,196,81,0.12), 0 24px 70px -10px rgba(245,196,81,0.4); }
.pastor-card .arch img { width: 240px; height: 320px; object-fit: cover; }
.pastor-card h3 { text-align: center; }
.pastor-card .role { text-align: center; color: var(--gold); font-weight: 700; margin: 0.3rem 0 1.2rem; }
.pastor-card p { color: var(--muted); }
.pastor-card .btn { width: 100%; }

/* Visit */
.visit { background: var(--ink-2); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; }
.card { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.6vw, 2.4rem); position: relative; }
.card h3 { margin-bottom: 0.8rem; }
.card > p:last-child { margin-bottom: 0; }
.b-sun { grid-column: span 7; background: linear-gradient(160deg, var(--ink-4), var(--ink-3) 60%); overflow: hidden; }
.b-sun::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 18rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(245,196,81,0.35); box-shadow: 0 0 0 2.2rem rgba(245,196,81,0.05), 0 0 0 4.4rem rgba(245,196,81,0.03); pointer-events: none; }
.b-sun .slot { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.b-sun .slot:first-of-type { padding-top: 0.2rem; }
.b-sun .slot b { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 0.95; color: var(--gold); min-width: 4.3em; }
.b-sun .slot span { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700; }
.b-sun .acts { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; position: relative; z-index: 1; }
.b-where { grid-column: span 5; display: flex; flex-direction: column; gap: 1rem; }
.b-where figure { margin: auto 0 0; }
.b-where img { width: 307px; height: 230px; max-width: 100%; object-fit: cover; border-radius: 14px; border: 1px solid var(--line-strong); }
.b-where figcaption { color: var(--muted); margin-top: 0.6rem; }
.b-where address { font-style: normal; font-size: 1.15rem; }
.b-expect { grid-column: span 7; }
.expect { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 2rem; margin: 0; }
.expect dt { font-weight: 700; color: var(--gold); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.25rem; }
.expect dd { margin: 0; color: #fff; }
.b-quote { grid-column: span 5; display: flex; align-items: center; background: transparent; border: 0; border-left: 3px solid var(--sky); border-radius: 0; padding-left: 2rem; }
.b-quote p { font-family: var(--font-display); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; margin: 0; }

/* Heritage */
.heritage { background: var(--ink); overflow: clip; }
.heritage .sec-head { max-width: 52rem; }
.strip { margin: 0 auto clamp(3rem, 6vw, 5rem); width: min(100%, 960px); position: relative; }
.strip img { width: 100%; height: auto; aspect-ratio: 960 / 248; border-radius: 18px; border: 1px solid rgba(245,196,81,0.5); box-shadow: 0 0 80px -10px rgba(245,196,81,0.35); }
.strip figcaption { color: var(--muted); margin-top: 0.8rem; text-align: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: clamp(2rem, 4vw, 3.2rem); }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, rgba(245,196,81,0), var(--gold) 8%, var(--gold) 92%, rgba(245,196,81,0)); transform: translateX(-50%); }
.tl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; position: relative; }
.tl::after { content: ""; position: absolute; left: 50%; top: 1.4rem; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(245,196,81,0.2), 0 0 24px rgba(245,196,81,0.8); transform: translateX(-50%); }
.tl .yr { font-family: var(--font-display); font-size: clamp(3.6rem, 8vw, 6.4rem); line-height: 0.9; color: #fff; letter-spacing: -0.02em; }
.tl .tx { padding-top: 0.6rem; }
.tl .tx h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.4rem; letter-spacing: 0; }
.tl .tx p { color: var(--muted); margin: 0; max-width: 28rem; }
.tl:nth-child(odd) .yr { text-align: right; }
.tl:nth-child(even) .yr { order: 2; }
.tl:nth-child(even) .tx { order: 1; text-align: right; justify-self: end; }
.tl:nth-child(even) .tx p { margin-left: auto; }
.name-legend { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; align-items: center; padding: clamp(1.8rem, 3vw, 3rem); border: 1px solid rgba(96,165,250,0.4); border-radius: 28px; background: linear-gradient(135deg, rgba(96,165,250,0.12), rgba(96,165,250,0.02)); }
.name-legend h3 { font-size: clamp(2rem, 4vw, 3.2rem); }
.name-legend p { margin: 0 0 1em; color: #fff; }
.name-legend p:last-child { margin: 0; color: var(--muted); }

/* Ministries */
.ministries { background: var(--ink-2); }
.min-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.index li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.index h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.index p { margin: 0; color: var(--muted); }
.index p b { color: #fff; font-weight: 700; }
.min-note { margin-top: 1.4rem; color: var(--muted); }
.min-photos { position: relative; display: grid; gap: 1.6rem; justify-items: start; }
.min-photos figure { margin: 0; }
.min-photos img { border-radius: 16px; border: 1px solid var(--line-strong); object-fit: cover; }
.min-photos .p1 img { width: 340px; height: 454px; }
.min-photos .p2 { justify-self: end; margin-top: 0; }
.min-photos .p2 img { width: 280px; height: 169px; box-shadow: 0 0 0 6px var(--ink-2); }
.min-photos figcaption { color: var(--muted); margin-top: 0.5rem; max-width: 22rem; }
.verse { margin: 2rem 0 0; padding-left: 1.4rem; border-left: 3px solid var(--gold); }
.verse p { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; margin: 0 0 0.3rem; }
.verse cite { font-style: normal; color: var(--muted); }

/* Events */
.events { background: var(--ink); }
.ev-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.2rem; }
.ev { background: var(--ink-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2.2rem); display: flex; flex-direction: column; gap: 0.5rem; }
.ev .when { font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky-soft); margin: 0; }
.ev h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.ev p { margin: 0; color: var(--muted); }
.ev .big { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5rem); line-height: 0.95; color: var(--gold); }
.ev-1 { grid-column: span 4; background: linear-gradient(150deg, var(--ink-4), var(--ink-3) 65%); border-color: rgba(245,196,81,0.5); box-shadow: 0 0 70px -24px rgba(245,196,81,0.55); }
.ev-1 .nums { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); flex-wrap: wrap; margin: 0.6rem 0 0.4rem; }
.ev-1 .nums div { display: flex; flex-direction: column; }
.ev-1 .nums span { color: #fff; font-weight: 700; }
.ev-2 { grid-column: span 2; }
.ev-3, .ev-4, .ev-5 { grid-column: span 2; }

/* Watch */
.watch { min-height: min(86vh, 820px); display: flex; align-items: center; overflow: clip; background: var(--ink); }
.watch-bg { position: absolute; inset: 0; }
.watch-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; filter: brightness(1.35) saturate(1.15); }
.watch-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,15,31,0.3) 22%, rgba(10,15,31,0.35) 70%, var(--ink) 100%), linear-gradient(90deg, rgba(10,15,31,0.86), rgba(10,15,31,0.1) 72%); }
.watch .wrap { position: relative; padding-block: var(--section); }
.watch-copy { max-width: 40rem; }
.watch-copy h2 { margin-bottom: 1.4rem; }
.watch-copy p { font-size: 1.2rem; color: #fff; text-shadow: 0 2px 20px rgba(10,15,31,0.8); }
.watch-copy .acts { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.live-pill { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.4rem 1rem; font-weight: 700; margin-bottom: 1.4rem; background: rgba(10,15,31,0.6); }
.live-pill i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 14px var(--gold); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

/* Give */
.give { background: var(--ink-2); text-align: center; overflow: clip; padding-block: calc(var(--section) * 1.1); }
.give .rings { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.give .rings i { --s: 26rem; position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); border-radius: 50%; border: 1px solid rgba(245,196,81,0.28); }
.give .rings i:nth-child(2) { --s: 42rem; border-color: rgba(245,196,81,0.18); }
.give .rings i:nth-child(3) { --s: 60rem; border-color: rgba(245,196,81,0.1); }
.give .rings i:nth-child(4) { --s: 80rem; border-color: rgba(96,165,250,0.12); }
.give .inner { position: relative; max-width: 46rem; margin-inline: auto; }
.give h2 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); margin-bottom: 1.2rem; }
.give p { color: var(--muted); font-size: 1.15rem; }
.give .btn-lg { margin: 1rem 0 1.6rem; }

/* Prayer / family */
.prayer { background: var(--ink); overflow: clip; }
.prayer-bg { position: absolute; inset: 0; }
.prayer-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0.75; filter: brightness(1.2) saturate(1.2); }
.prayer-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,15,31,0.7) 18%, rgba(10,15,31,0.82) 70%, var(--ink) 100%); }
.prayer .wrap { position: relative; }
.prayer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.prayer h2 { margin-bottom: 1.4rem; }
.prayer .verse { margin-top: 1.6rem; }
.form-card { background: rgba(17,24,39,0.96); border: 1px solid var(--line-strong); border-radius: 28px; padding: clamp(1.5rem, 3vw, 2.4rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.field small { display: block; color: var(--muted); font-size: 1rem; margin-bottom: 0.4rem; }
.field input, .field textarea { width: 100%; font: 400 1.1rem/1.4 var(--font-body); color: #fff; background: var(--ink); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 0.85rem 1rem; min-height: 3.4rem; }
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.form-card .btn { width: 100%; }
.form-card .note { margin: 1rem 0 0; font-size: 1rem; color: var(--muted); }
.form-error { margin: 0 0 1rem; padding: 0.85rem 1rem; border: 1.5px solid var(--gold); border-radius: 14px; color: var(--gold-soft); background: rgba(245, 196, 81, 0.08); }
.form-card .btn[disabled] { opacity: 0.65; cursor: wait; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.family { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.family .card { background: rgba(23,32,51,0.94); }
.family h3 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); }
.family p { color: var(--muted); }
.family .who { color: #fff; margin: 1rem 0 0.2rem; font-weight: 700; }
.tel { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.2rem; color: var(--gold); text-decoration: none; min-height: 2.8rem; }
.tel:hover { color: var(--gold-soft); text-decoration: underline; }
.tel svg { width: 1.1em; height: 1.1em; }

/* Contact */
.contact { background: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.2rem; }
.c-call { grid-column: span 5; }
.c-call .num { display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 5.4vw, 4.4rem); line-height: 1; color: var(--gold); text-decoration: none; margin: 0.6rem 0 1rem; letter-spacing: -0.01em; }
.c-visit { grid-column: span 7; }
.c-list { grid-column: span 12; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding: clamp(1.5rem, 2.6vw, 2.4rem) 0 0; }
.c-list dt { font-weight: 700; font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.c-list dd { margin: 0; overflow-wrap: anywhere; }
.c-list a { color: #fff; }
.c-list a:hover { color: var(--gold-soft); }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 2.5rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
.foot-top .brand-name { font-size: 2.4rem; }
.foot-top p { color: var(--muted); }
.foot-top h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.foot-top ul a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; min-height: 3rem; min-width: 3rem; padding: 0.3rem 0; }
.foot-top ul a:hover { color: var(--gold-soft); text-decoration: underline; }
.credits { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
.credits p { margin: 0 0 0.6rem; }
.credits a { color: var(--sky-soft); }

/* Content-driven additions (build.py output) */
.eyebrow-c { justify-content: center; }
.b-sun .slot-d { display: block; font-style: normal; font-weight: 400; font-size: 1.1rem; color: var(--muted); margin-top: 0.2rem; }
.index li > div > p + p { margin-top: 0.5rem; }
.index p b { margin-right: 0.3rem; }
.ev .big small { font-size: 0.5em; letter-spacing: 0; }
.fam-c + .fam-c { margin-top: 0.4rem; }
.foot-info { margin-top: 1rem; }
.foot-info .foot-tel { color: #fff; display: inline-flex; align-items: center; min-height: 3rem; min-width: 3rem; }
.c-list dd .placeholder { font-weight: 700; }
@media (min-width: 961px) { .nav-links .menu-only { display: none; } }

/* Motion states (JS only) */
html.js [data-reveal] { opacity: 0; transform: translateY(32px); }
html.js .hero-title .mask > span, html.js .hero-title .fade { opacity: 0; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links a:not(.btn) { font-size: 1rem; }
  .brand-sub { display: none; }
  .hero-bar { padding-left: 1.4rem; }
  .times .addr { display: none; }
  .times .sep2 { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.1rem; border: 1.5px solid var(--line-strong); border-radius: 999px; background: rgba(10,15,31,0.6); color: #fff; font: 700 1rem var(--font-body); cursor: pointer; }
  .nav-actions { display: flex; align-items: center; gap: 0.6rem; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border: 1px solid var(--line-strong); border-radius: 0 0 22px 22px; padding: 0.6rem 1.2rem 1.2rem; display: none; max-height: calc(100svh - 5.4rem); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open { display: flex; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border: 0; padding-top: 1rem; }
  .nav-links a { display: flex; align-items: center; min-height: 3rem; padding: 0.7rem 0.2rem; font-size: 1.15rem; border-bottom: 0; }
  .nav-links .nav-sub { display: block; list-style: none; margin: 0 0 0.7rem 0.2rem; padding: 0 0 0 1rem; border-left: 2px solid var(--gold); }
  .nav-links .nav-sub a { font-size: 1rem; font-weight: 400; color: var(--muted); }
  .nav-links .nav-sub a[aria-current="page"] { color: #fff; }
  .nav-links .btn-gold { display: none; }
  .welcome-grid, .min-grid, .prayer-top, .name-legend { grid-template-columns: minmax(0, 1fr); }
  .pastor-card { max-width: 32rem; }
  .b-sun, .b-where, .b-expect, .b-quote { grid-column: span 12; }
  .ev-1 { grid-column: span 6; }
  .ev-2, .ev-3, .ev-4, .ev-5 { grid-column: span 3; }
  .family { grid-template-columns: minmax(0, 1fr); }
  .c-call, .c-visit { grid-column: span 12; }
  .c-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-top > :first-child { grid-column: span 2; }
  .min-photos { grid-template-columns: auto auto; justify-content: start; align-items: start; }
  .min-photos .p2 { margin-top: 3rem; justify-self: start; }
}
@media (max-width: 760px) {
  .timeline::before { left: 8px; transform: none; }
  .timeline { gap: 3.2rem; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; padding-left: 2.6rem; }
  .tl::after { left: 8px; top: 1rem; }
  .tl .yr, .tl:nth-child(odd) .yr { text-align: left; order: 0; font-size: 3.6rem; }
  .tl:nth-child(even) .tx { order: 1; text-align: left; justify-self: start; }
  .tl:nth-child(even) .tx p { margin-left: 0; }
  .index li { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .ev-2, .ev-3, .ev-4, .ev-5 { grid-column: span 6; }
  .expect { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .min-photos { grid-template-columns: minmax(0, 1fr); }
  .min-photos .p2 { margin-top: 0; }
  .min-photos .p1 img { width: min(340px, 100%); height: auto; aspect-ratio: 500 / 668; }
}
@media (max-width: 700px) {
  .brand-name { font-size: 1.6rem; }
  .hero-title { padding: 4.8rem 1.25rem 17rem; justify-content: flex-start; padding-top: 22svh; }
  .hero-title h1 { font-size: clamp(4.6rem, 22vw, 6.4rem); }
  .hero-title h1 .sub { letter-spacing: 0.14em; margin-top: 1rem; }
  .hero-title .where { letter-spacing: 0.14em; border-radius: 16px; }
  .hero-bar { flex-direction: column; align-items: stretch; gap: 0.9rem; padding: 0.9rem; border-radius: 22px; bottom: 0.7rem; }
  .times { justify-content: space-around; }
  .time { align-items: center; text-align: center; }
  .time b { font-size: 2rem; }
  .bar-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .bar-cta .btn { padding-inline: 0.6rem; min-height: 3.2rem; }
  .bar-cta .btn-gold { grid-column: span 2; }
  .hero-intro { bottom: 11rem; }
  .hero-cue { display: none; }
  .prayer-bg { bottom: auto; height: 1100px; }
  .c-list { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .foot-top > :first-child { grid-column: auto; }
  .give .rings i:nth-child(1) { --s: 18rem; }
  .give .rings i:nth-child(2) { --s: 28rem; }
  .give .rings i:nth-child(3) { --s: 40rem; }
  .btn-lg { padding-inline: 1.6rem; }
}
@media (max-height: 700px) and (min-width: 701px) {
  .hero-title { padding-bottom: 12rem; }
  .hero-title h1 { font-size: clamp(3.6rem, 10vw, 7.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cue i, .live-pill i { animation: none; }
  .btn { transition: none; }
}
