/* =========================================================
= THEME TOKENS
========================================================= */
:root{
  --bg:#ffffff;
  --surface:#f8fafc;
  --ink:#202020;
  --muted:#6b7785;
  --accent:#0a355b;
  --accent-2:#07243f;
  --line:#e5e7eb;
  --card:#ffffff;
  --pill:rgb(10 53 91 / 7%);
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --radius:14px;
  --radius-sm:10px;
  --radius-lg:20px;
  --maxw:1280px;
}

/* =========================================================
= BASE
========================================================= */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; overflow-x:hidden; }
body{
  font-family:'Poppins', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 20px; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 24px; border-radius:999px;
  font-weight:700; font-size:15px;
  background:var(--accent); color:#fff; border:2px solid transparent;
  box-shadow:var(--shadow); cursor:pointer; transition:all .2s ease;
}
.btn:hover{ background:var(--accent-2); transform:translateY(-2px); }
.btn.secondary{ background:transparent; color:#fff; border-color:rgba(255,255,255,.7); }
.btn.secondary:hover{ background:#fff; color:#111; border-color:#fff; }

/* Pills */
.pill{
  display:inline-flex; align-items:center; width:fit-content; max-width:100%;
  padding:6px 10px; border-radius:999px;
  background:var(--pill); color:var(--accent);
  font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px;
}

/* =========================================================
= SECTION SHELLS
========================================================= */
section{ position:relative; }
.section{ padding:100px 0; }
.section.alt{ background:var(--surface); border-radius:24px; box-shadow:0 1px 0 var(--line); }

.section-header{
  display:grid; grid-template-columns:1fr 1fr; gap:28px;
  align-items:end; margin-bottom:24px;
}
.section-header h2{ margin:0; font-size:clamp(26px,3vw,40px); letter-spacing:-.3px; text-wrap:balance; }
.section-header p{ margin:0; color:var(--muted); }

/* =========================================================
= HERO (static image bg + navy overlay + dots)
========================================================= */
.hero{
  position:relative;
  min-height:105vh;            /* roomy on desktop */
  display:flex; align-items:center;
  padding-top:68px;            /* header offset on desktop */
  overflow:hidden;
}
/* full-bleed image */
.hero .hero-media{ position:absolute; inset:0; z-index:-2; }
.hero .hero-media img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}

/* navy film + dotted field */
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(12,18,28,.92);
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size:20px 20px; opacity:.45;
}

/* hero content */
.hero-inner{ width:100%; padding:40px 0; text-align:center; position:relative; z-index:1; }
.hero-content{ color:#fff; margin:0 auto; max-width:900px; padding:24px; }
.eyebrow{ display:inline-block; font-size:.9rem; letter-spacing:.1em; text-transform:uppercase; color:#dbeafe; margin-bottom:24px; font-weight:600; }
.hero h1{ margin:0 0 24px; font-size:clamp(36px,5vw,60px); font-weight:700; line-height:1.2; letter-spacing:-2px; text-wrap:balance; }
.hero p.sub{ margin:0 auto 32px; color:rgba(255,255,255,.9); font-size:clamp(16px,1.3vw,18px); max-width:100ch; line-height:1.6; }
.hero-key-info{ display:flex; flex-wrap:wrap; justify-content:center; gap:24px; margin-bottom:40px; color:rgba(255,255,255,.9); font-size:15px; }
.info-item{ display:flex; align-items:center; gap:12px; }
.info-item svg{ width:20px; height:20px; opacity:.8; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.scroll-indicator{ position:absolute; bottom:40px; left:50%; transform:translateX(-50%); z-index:10; color:#fff; animation:bounce 2.5s infinite ease-in-out; }
.scroll-indicator svg{ width:28px; height:28px; opacity:.8; }
@keyframes bounce{
  0%,20%,50%,80%,100%{ transform:translateX(-50%) translateY(0); }
  40%{ transform:translateX(-50%) translateY(-15px); }
  60%{ transform:translateX(-50%) translateY(-10px); }
}

/* mobile: fill the screen height; add inner top padding for fixed header */
@media (max-width:900px){
  .hero{ min-height:100svh; min-height:100dvh; min-height:100vh; padding-top:0; }
  .hero .hero-inner{ padding-top:68px; }
}

/* hand-off curve to About */
#about.section{
  border-top-left-radius:40px; border-top-right-radius:40px;
  margin-top:-40px; position:relative; z-index:10;
}

/* =========================================================
= ABOUT v3 (split + blob image)
========================================================= */
.about-v3{ padding:180px 0; background-color:var(--bg); position:relative; overflow:hidden; }
.about-v3::before{
  content:""; position:absolute; width:450px; height:450px; background:rgba(10,53,91,.05);
  border-radius:40% 60% 70% 30% / 40% 40% 60% 60%; top:-100px; left:-150px; transform:rotate(-15deg); z-index:0;
}
.about-v3::after{
  content:""; position:absolute; width:550px; height:550px; background:rgba(10,53,91,.04);
  border-radius:70% 30% 30% 70% / 60% 70% 30% 40%; bottom:-200px; right:-200px; transform:rotate(15deg); z-index:0;
}
.about-v3 .about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(48px,8vw,96px); align-items:center; position:relative; z-index:1; }
.about-v3 .about-text h2{
  font-size:clamp(32px,4vw,48px); font-weight:700; line-height:1.2; letter-spacing:-1px; color:var(--ink);
  margin:12px 0 16px;
}
.about-v3 .about-text h2 span{ color:var(--accent); }
.about-v3 .about-text .lead,
.about-v3 .about-text .about-body p{ font-size:18px; line-height:1.8; color:var(--muted); max-width:50ch; }
.about-v3 .about-text .lead{ margin-bottom:1.5em; }
.about-v3 .about-body{ margin-bottom:32px; }
.about-v3 .btn{ background:transparent; border:2px solid var(--accent); color:var(--accent); }
.about-v3 .btn:hover{ background:var(--accent); color:#fff; }
.about-v3 .about-media{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.about-v3 .about-media img{
  width:90%; height:90%; object-fit:cover; box-shadow:var(--shadow);
  border-radius:40% 60% 70% 30% / 40% 40% 60% 60%;
  transition:border-radius .3s ease;
}
@media (max-width:960px){
  .about-v3 .about-grid{ grid-template-columns:1fr; gap:48px; }
  .about-v3 .about-media{ display:none !important; }
  .about-v3 .about-text{ max-width:68ch; margin-inline:auto; }
}

/* =========================================================
= VISIT INFO (dark) + Ministries handoff
========================================================= */
.visit-info-dark{
  background:rgb(12,18,28);
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1px, transparent 0);
  background-size:20px 20px; color:rgba(255,255,255,.8);
  padding:160px 0; position:relative;
  border-top-left-radius:40px; border-top-right-radius:40px;
  margin-top:-40px; z-index:5;
}
.visit-info-dark .section-title{
  text-align:center; color:#fff; font-size:clamp(32px,4vw,48px); font-weight:700; letter-spacing:-1px; margin-bottom:16px;
}
.visit-info-dark .section-lead{ font-size:18px; line-height:1.7; color:rgba(255,255,255,.8); max-width:60ch; margin:0 auto 64px; text-align:center; }
.visit-info-dark .info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; text-align:center; }
.visit-info-dark .info-column{ position:relative; padding:0 20px; }
.visit-info-dark .info-column:not(:last-child)::after{ content:""; position:absolute; top:10%; bottom:10%; right:-20px; width:1px; background-color:rgba(255,255,255,.15); }
.visit-info-dark .info-icon{
  width:64px; height:64px; background:var(--accent); color:#fff; border:none; border-radius:50%;
  display:grid; place-items:center; margin:0 auto 24px;
}
.visit-info-dark h2{ color:#fff; font-size:24px; margin-bottom:12px; }
.visit-info-dark p{ line-height:1.7; margin-bottom:8px; }
.visit-info-dark .small-text{ font-size:14px; opacity:.7; }
.visit-info-dark a{ color:#fff; font-weight:600; border-bottom:1px solid rgba(255,255,255,.4); transition:all .2s ease; }
.visit-info-dark a:hover{ border-bottom-color:#fff; }

@media (max-width:900px){
  .visit-info-dark .info-grid{ grid-template-columns:1fr; gap:64px; }
  .visit-info-dark .info-column:not(:last-child)::after{ display:none; }
}

/* Rounded top for Ministries when following the dark band */
#ministries.section.alt{ border-radius:40px 40px 0 0; box-shadow:none; margin-top:-40px; position:relative; z-index:6; }

/* =========================================================
= MINISTRIES v2 (no-carousel grid + “View All”)
========================================================= */
.ministries-v2 .ministry-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:18px;
}
.ministries-v2 .ministry-head-left h2{
  margin:6px 0 10px; font-size:clamp(28px,3.6vw,48px); letter-spacing:-.3px; color:var(--ink);
}
.ministries-v2 .ministry-head-left .lead{ color:var(--muted); max-width:60ch; margin:0; font-size:18px; }
.ministries-v2 .pill{ background:var(--pill); color:var(--accent); }

.ministries-v2 .ministry-track{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr));
  gap:clamp(16px, 3vw, 24px); padding-top:30px;
}
.ministries-v2 .min-card{
  display:block; border-radius:18px; overflow:hidden; color:inherit; text-decoration:none;
  box-shadow:0 14px 34px rgba(0,0,0,.08);
  transition:transform .16s ease, box-shadow .16s ease;
  background:
    linear-gradient(#fff,#fff) padding-box,
    radial-gradient(120% 140% at 0% 0%, rgba(10,53,91,.08), transparent 60%) border-box;
  border:1px solid transparent;
}
.ministries-v2 .min-card:hover{ transform:translateY(-2px); box-shadow:0 18px 42px rgba(0,0,0,.12); }
.ministries-v2 .min-card .thumb{ aspect-ratio:4/3; min-height:clamp(140px,28vw,150px); background:#e8edf6; }
.ministries-v2 .min-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.ministries-v2 .min-card .body{ padding:clamp(14px, 2vw, 18px); background:#fff; }
.ministries-v2 .min-card .title{ font-size:clamp(17px, 1.7vw, 18px); font-weight:700; letter-spacing:-.2px; margin:0 0 6px; color:var(--ink); }
.ministries-v2 .min-card .desc{ font-size:clamp(14px,1.2vw,16px); line-height:1.65; color:var(--muted); margin:0; }

@media (max-width:1200px){ .ministries-v2 .ministry-track{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:820px){  .ministries-v2 .ministry-track{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px){  .ministries-v2 .ministry-track{ grid-template-columns:1fr; gap:14px; } }

/* Hide any leftover arrow controls from old markup */
.ministries-v2 .ministry-controls,
.ministries-v2 .round-nav{ display:none !important; }

/* Mobile spacing for the section container */
@media (max-width:760px){
  #ministries .container{ padding-inline:clamp(20px, 6vw, 28px); }
}

/* =========================================================
= “HOST YOUR EVENT” / RESERVE (blob media + bottom-left glow)
========================================================= */
.host-event-section{ padding:80px 0; background:#fff; position:relative; overflow:hidden; }
.host-event-section::before{
  content:""; position:absolute; width:550px; height:550px; background:rgba(10,53,91,.04);
  border-radius:70% 30% 30% 70% / 60% 70% 30% 40%; bottom:-200px; left:-200px; transform:rotate(25deg); z-index:0;
}
.host-event-section::after{
  content:""; position:absolute; width:450px; height:450px; background:rgba(10,53,91,.05);
  border-radius:40% 60% 70% 30% / 40% 40% 60% 60%; top:-150px; right:-150px; transform:rotate(-25deg); z-index:0;
}
/* extra soft glow (bottom-left) */
#reserve::before,
section[id*="reserve"]::before{
  content:""; position:absolute; left:-200px; bottom:-200px; width:640px; height:640px;
  background:radial-gradient(closest-side, rgba(10,77,182,.12), transparent 68%); filter:blur(3px); pointer-events:none; z-index:0;
}

.host-event-section .host-event-grid{
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(48px,8vw,96px); align-items:center; position:relative; z-index:1;
}
.host-event-section .host-event-media{
  display:flex; align-items:center; justify-content:flex-start; width:100%; height:auto;
}
.host-event-section .host-event-media img{
  width:85%; height:auto; object-fit:cover; box-shadow:var(--shadow);
  border-radius:40% 60% 30% 70% / 60% 30% 70% 40%;
  transition:border-radius .3s ease;
}
.host-event-section .pill{ background:var(--pill); color:var(--accent); font-size:.8rem; padding:6px 12px; border-radius:999px; letter-spacing:.08em; font-weight:600; margin-bottom:12px; }
.host-event-section h2{
  font-size:clamp(32px,4vw,48px); font-weight:700; line-height:1.2; letter-spacing:-1px; color:var(--ink);
  margin:12px 0 16px;
}
.host-event-section h2 span{ color:var(--accent); }
.host-event-section .lead,
.host-event-section .host-event-body p{ font-size:18px; line-height:1.8; color:var(--muted); max-width:50ch; }
.host-event-section .lead{ margin-bottom:1.5em; }
.host-event-section .host-event-body{ margin-bottom:32px; }
.host-event-section .btn{ border-radius:var(--radius); }

/* mobile stack + cap image height */
@media (max-width:960px){
  .host-event-section .host-event-grid{ grid-template-columns:1fr !important; align-items:start; gap:24px; }
  .host-event-section .host-event-media{ display:block; overflow:hidden; margin:0; justify-content:center; }
  .host-event-section .host-event-media img{
    width:100%; height:auto; aspect-ratio:16 / 10; max-height:clamp(180px,36vh,240px); object-fit:cover;
  }
}
@media (max-width:420px){
  .host-event-section .host-event-media img{ aspect-ratio:16 / 9; max-height:200px; }
}

/* =========================================================
= FEATURED CALLOUT (shared card used by reserve block)
========================================================= */
.featured-callout{ padding-top:0; padding-bottom:140px; }
.featured-card{
  display:grid; grid-template-columns:1.15fr 1fr; align-items:stretch;
  background:var(--card); border-radius:var(--radius-lg); box-shadow:var(--shadow); overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease;
}
.featured-card:hover{ transform:translateY(-5px); box-shadow:0 15px 30px rgba(0,0,0,.12); }
.featured-card .card-text{ padding:clamp(32px,5vw,64px); }
.featured-card h2{ font-size:clamp(28px,3.5vw,40px); font-weight:700; line-height:1.2; letter-spacing:-1px; color:var(--ink); margin:12px 0 16px; }
.featured-card h2 span{ color:var(--accent); }
.featured-card p{ font-size:18px; color:var(--muted); line-height:1.7; max-width:45ch; margin-bottom:32px; }
.featured-card .btn{ border-radius:var(--radius); }

/* make the image fill the card height on desktop */
.featured-card .card-image{ position:relative; }
.featured-card .card-image img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}

/* stack + cap on mobile */
@media (max-width:980px){
  .featured-card{ grid-template-columns:1fr; }
  .featured-card .card-image{ grid-row:1/2; height:220px; }
  .featured-card .card-image img{ position:static; width:100%; height:100%; object-fit:cover; }
}

/* =========================================================
= DARK INFO (generic)
========================================================= */
.dark-info-section{
  background:rgb(12,18,28);
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,.1) 1px, transparent 0);
  background-size:20px 20px; color:rgba(255,255,255,.8);
  padding:100px 0; position:relative;
}
.dark-info-section .section-title{
  text-align:center; color:#fff; font-size:clamp(32px,4vw,48px); font-weight:700; letter-spacing:-1px; margin-bottom:16px;
}
.dark-info-section .section-lead{
  font-size:18px; line-height:1.7; color:rgba(255,255,255,.8);
  max-width:60ch; margin:0 auto 64px; text-align:center;
}
.dark-info-section .info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:40px; text-align:center; }
.dark-info-section .info-column{ position:relative; padding:0 20px; }
@media (max-width:900px){ .dark-info-section .info-grid{ grid-template-columns:1fr; gap:64px; } }

/* =========================================================
= ABOUT STACK (About page: intro + history)
========================================================= */
.about-stack.section.alt{
  margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  border-radius:0; box-shadow:none;
}
.about-stack .container{ max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(16px,3vw,32px); }
.about-stack .about-intro.container{ width:100%; max-width:var(--maxw) !important; margin-inline:auto; padding-left:20px; padding-right:20px; }
.about-stack .about-intro .prose{ font-size:18px; line-height:1.85; }
@media (min-width:1400px){ .about-stack .about-intro .prose{ max-width:1600px; margin-inline:auto; } }

.about-stack .history{ position:relative; --hist-dot:radial-gradient(circle at 1px 1px, rgba(0,0,0,.05) 1px, transparent 0); }
.about-stack .history::before{
  content:""; position:absolute; inset:0;
  background-image:var(--hist-dot); background-size:20px 20px;
  mask:linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.08) 40%, transparent 85%); pointer-events:none; border-bottom:1px solid var(--line);
}
.about-stack .history .history-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(28px,6vw,72px); align-items:start; }

.about-stack .history .history-copy{ position:relative; padding-left:28px; counter-reset:hist; }
.about-stack .history .history-copy::before{ content:""; position:absolute; left:8px; top:4px; bottom:4px; width:2px; background:linear-gradient(to bottom, var(--line), transparent 90%); border-radius:2px; }
.about-stack .history .history-copy p{
  position:relative; counter-increment:hist; margin:0 0 16px; padding:14px 16px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.about-stack .history .history-copy p::before{
  content:counter(hist);
  position:absolute; left:-28px; top:12px; width:24px; height:24px; display:grid; place-items:center;
  border-radius:999px; background:var(--pill); color:var(--accent); font-weight:700; font-size:13px;
  border:1px solid var(--line); box-shadow:0 4px 10px rgba(0,0,0,.06);
}

.about-stack .history .stack-media{ position:relative; aspect-ratio:4/3; border-radius:var(--radius-lg); overflow:visible; isolation:isolate; }
.about-stack .history .stack-media::before{
  content:""; position:absolute; inset:-1px; border-radius:inherit;
  background:
    linear-gradient(#fff,#fff) padding-box,
    radial-gradient(120% 140% at 0% 0%, rgba(10,53,91,.12), transparent 60%) border-box;
  border:1px solid transparent; z-index:0;
}
.about-stack .history .stack-media img.base{ position:relative; z-index:1; width:100%; height:100%; object-fit:cover; border-radius:inherit; box-shadow:var(--shadow); }
.about-stack .history .stack-media img.float{
  position:absolute; right:-8%; bottom:-10%; width:48%; height:auto;
  border-radius:16px; border:6px solid #fff; box-shadow:0 18px 36px rgba(0,0,0,.18); transform:rotate(-2deg); z-index:2;
}
@media (max-width:1000px){
  .about-stack .history .history-grid{ grid-template-columns:1fr; }
  .about-stack .history .stack-media img.float{ position:static; width:100%; transform:none; border-width:4px; margin-top:12px; }
}

/* =========================================================
= QUOTE SECTION
========================================================= */
.quote-section{ background:var(--accent-2); color:rgba(255,255,255,.9); padding:120px 0; position:relative; overflow:hidden; }
.quote-section .container{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.quote-section blockquote{
  position:relative; z-index:1; font-size:clamp(24px,3vw,36px); font-weight:600; line-height:1.6;
  max-width:40ch; margin:0 0 24px;
}
.quote-section blockquote::before{
  content:'“'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  font-size:200px; font-weight:700; color:rgba(255,255,255,.05); z-index:0; pointer-events:none;
}
.quote-section .highlight{ color:#fff; }
.quote-section cite{
  display:block; font-style:normal; font-size:14px; font-weight:600; text-transform:uppercase; letter-spacing:1px; opacity:.7; position:relative; z-index:1;
}

/* =========================================================
= HOME — Mobile tweaks (container + hero aux)
========================================================= */
.home .container{ width:100%; max-width:1280px; margin-inline:auto; padding-inline:clamp(24px, 6vw, 64px); }
@media (max-width:960px){
  .home .container{ padding-inline:clamp(16px, 5.5vw, 24px); }
}

/* Motion-safe */
@media (prefers-reduced-motion:reduce){
  .hero *{ transition:none !important; }
  .ministries-v2 .min-card,
  .featured-callout .featured-card{ transition:none !important; }
}
/* === Restore hero blue film + dotted overlay (above the image) === */
.hero{ position: relative; }

.hero .hero-media{
  position: absolute; inset: 0;
  z-index: 0;                 /* image at the bottom */
}
.hero .hero-media img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

.hero::before{
  content: "";
  position: absolute; inset: 0;
  z-index: 1;                 /* blue film above image */
  background: rgba(12,18,28,0.92);
}

.hero::after{
  content: "";
  position: absolute; inset: 0;
  z-index: 2;                 /* dots above the film */
  pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.10) 1px, transparent 0);
  background-size: 20px 20px;
  opacity: .45;
}

.hero .hero-inner{
  position: relative;
  z-index: 3;                 /* content on top of everything */
}
