/* =========================================================
   THE STONE CHURCH ABUJA — Stylesheet
   Design language: near-black grain, coral→lavender gradient,
   faceted "stone" signature motif, real logo + photography.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  /* --- Color tokens --- */
  --bg:            #131213;
  --bg-raised:     #1b1a1b;
  --card:          #201f20;
  --card-hover:    #262526;
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text:          #f5f2f1;
  --text-muted:    #a49fa0;
  --text-faint:    #726d6e;

  --coral:         #ef9ba0;
  --coral-soft:    #f3b2b6;
  --lavender:      #b79cf0;
  --lavender-soft: #cdb8f5;

  --gradient: linear-gradient(120deg, var(--coral) 0%, #dba7d6 50%, var(--lavender) 100%);
  --gradient-text: linear-gradient(120deg, var(--coral) 10%, var(--lavender) 90%);

  /* --- Type --- */
  --font-display: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* --- Radius / spacing --- */
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --container: 1160px;
  --shadow-sm: 0 2px 10px -4px rgba(0,0,0,0.35);
  --shadow-md: 0 20px 44px -16px rgba(0,0,0,0.6);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html:focus-within{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film-grain texture on the whole page, subtle, cheap (SVG noise) */
body::before{
  content:"";
  position: fixed; inset:0;
  z-index: 0;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1em; color: var(--text-muted); }

.eyebrow{
  display:inline-flex; align-items:center; gap:.5em;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin-bottom: .9em;
}
.eyebrow::before{
  content:"";
  width: 14px; height:14px;
  background: var(--gradient);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.gradient-text{
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section{ position: relative; padding: 96px 0; }
section.tight{ padding: 64px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Decorative blurred glow blobs, used sparingly */
.glow{
  position:absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  pointer-events:none;
  z-index:0;
}
.glow-coral{ background: radial-gradient(circle, var(--coral), transparent 70%); }
.glow-lavender{ background: radial-gradient(circle, var(--lavender), transparent 70%); }

/* =========== Buttons =========== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active{ transform: scale(.97); }
.btn-outline{
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover{ border-color: var(--coral-soft); background: rgba(239,155,160,0.06); }

.btn-gradient{
  background: var(--gradient);
  color: #1a1315;
  box-shadow: 0 8px 24px -8px rgba(239,155,160,0.55);
}
.btn-gradient:hover{ box-shadow: 0 10px 30px -6px rgba(183,156,240,0.6); transform: translateY(-1px); }

.btn-ghost{
  color: var(--text-muted);
  padding: 14px 10px;
}
.btn-ghost:hover{ color: var(--text); }

.btn-sm{ padding: 10px 20px; font-size: .85rem; }

/* =========== Header / Nav =========== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(19,18,19,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 24px;
  gap: 20px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
  flex-shrink:0;
}
.logo img.mark-img{ height:52px; width:auto; flex-shrink:0; }
.logo .logo-text{ display:flex; flex-direction:column; line-height:1.2; }
.logo .logo-text small{ font-size:.72rem; font-weight:500; color: var(--text-muted); }
.logo span.city{ color: var(--text-muted); font-weight:500; }

.nav{
  display:flex; align-items:center; gap: 6px;
  flex:1;
  justify-content:center;
}
.nav > a, .nav-drop > button{
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  display:flex; align-items:center; gap:5px;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.open > button{
  color: var(--text);
  background: var(--card);
}
.nav-drop{ position:relative; }
.nav-drop svg{ width:12px; height:12px; transition: transform .18s ease; }
.nav-drop.open svg{ transform: rotate(180deg); }
.nav-drop-menu{
  position:absolute; top: calc(100% + 8px); left:50%; transform: translateX(-50%);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 210px;
  display:none;
  flex-direction:column;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
}
.nav-drop.open .nav-drop-menu{ display:flex; }
.nav-drop-menu a{
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text-muted);
}
.nav-drop-menu a:hover{ background: var(--card); color: var(--text); }

.header-actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav-toggle{
  display:none;
  width:40px; height:40px;
  align-items:center; justify-content:center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.mobile-nav{ display:none; }

@media (max-width: 980px){
  .nav{ display:none; }
  .nav-toggle{ display:flex; }
  .header-inner{ flex-wrap: wrap; }
  .mobile-nav{
    display:none;
    width:100%;
    flex-direction:column;
    gap: 4px;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }
  .mobile-nav.open{ display:flex; }
  .mobile-nav a, .mobile-nav .mnav-group > button{
    width:100%; text-align:left;
    padding: 12px 8px;
    color: var(--text-muted);
    background:none; border:none; font-size:.98rem;
    display:flex; align-items:center; justify-content:space-between;
  }
  .mobile-nav a:hover{ color: var(--text); }
  .mnav-sub{ display:none; padding-left: 16px; flex-direction:column; }
  .mnav-group.open .mnav-sub{ display:flex; }
  .mnav-group.open svg{ transform: rotate(180deg); }
}

/* =========== Hero =========== */
.hero{
  padding: 88px 0 72px;
  position:relative;
  overflow:hidden;
}
.hero .glow-coral{ top: -160px; left: -120px; }
.hero .glow-lavender{ bottom: -200px; right: -140px; }
.hero h1{ margin-bottom: .4em;}
.hero p.lead{ font-size: 1.15rem; max-width: 560px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top: 32px; }
.scroll-cue{
  display:inline-flex; align-items:center; gap:8px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--text-faint);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scroll-cue .line{ width:28px; height:1px; background: var(--text-faint); }

/* --- Home hero: looping background video --- */
.hero.hero-video-hero{
  min-height: 640px;
  display:flex;
  align-items:flex-end;
  padding: 0 0 80px;
}
.hero-video-wrap{
  position:absolute; inset:0; z-index:0;
  overflow:hidden;
  background: #000;
  pointer-events:none;
}
.hero-video-frame{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center;
  pointer-events:none;
}

.hero-text-panel{
  max-width: 800px;
  background: rgba(19,18,19,0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px 50px 40px 40px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px){
  .hero-text-panel{ padding: 28px 24px; }
}

.hero-scrim{
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(0deg, rgba(19,18,19,0.92) 0%, rgba(19,18,19,0.55) 45%, rgba(19,18,19,0.25) 100%);
  pointer-events:none;
}
.hero-video-hero .hero-inner{ position:relative; z-index:2;}

.hero-video-hero .container{
  width: 100%;
}

/* --- Simple text hero with optional background photo --- */
.hero.hero-simple{
  padding: 88px 0 56px;
}
.hero.hero-photo{
  overflow:hidden;
}
.hero-photo-bg{
  position:absolute; inset:0; z-index:0;
  background-size:cover; background-position:center;
}
.hero-photo .hero-scrim{
  background: linear-gradient(100deg, rgba(19,18,19,0.94) 20%, rgba(19,18,19,0.55) 70%, rgba(19,18,19,0.3) 100%);
}
.hero-photo .hero-inner{ position:relative; z-index:2; }

/* =========== Cards =========== */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover{ border-color: var(--border-strong); background: var(--card-hover); }

.grid{ display:grid; gap: 24px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px){
  .grid-2, .grid-3{ grid-template-columns: 1fr; }
}

.icon-badge{
  width:48px; height:48px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: var(--gradient);
  color:#1a1315;
  margin-bottom: 18px;
  flex-shrink:0;
}
.icon-badge svg{ width:22px; height:22px; }

/* Next-steps numbered rows */
.step-row{
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-bottom: 18px;
}
.step-row .step-left{ display:flex; align-items:center; gap:18px; }
.step-num{
  width:42px; height:42px; flex-shrink:0;
  border-radius:50%;
  border: 1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono);
  font-size: .95rem;
}
.step-arrow{
  width:36px; height:36px; flex-shrink:0;
  border-radius:50%;
  background: var(--gradient);
  display:flex; align-items:center; justify-content:center;
  color:#1a1315;
}
.step-arrow svg{ width:16px; height:16px; }

/* =========== Mission "5 Ms" =========== */
.m-list{ display:grid; grid-template-columns: repeat(5,1fr); gap:16px; }
@media (max-width: 900px){ .m-list{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .m-list{ grid-template-columns: 1fr; } }
.m-item{
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align:center;
}
.m-item .m-word{
  font-family: var(--font-display); font-weight:800; font-size:1.05rem;
  background: var(--gradient-text); -webkit-background-clip:text; background-clip:text; color:transparent;
  display:block; margin-bottom:6px;
}
.m-item p{ font-size:.85rem; margin:0; }

/* =========== Verse block =========== */
.verse-block{
  border-left: 3px solid transparent;
  border-image: var(--gradient) 1;
  padding: 6px 0 6px 24px;
  margin: 18px 0;
}
.verse-block p{ color: var(--text); font-style: italic; }
.verse-ref{ font-family: var(--font-mono); font-size:.78rem; color: var(--coral-soft); letter-spacing:.05em; }

/* =========== FAQ (native details/summary) =========== */
.faq-item{
  border-bottom: 1px solid var(--border);
}
.faq-item summary{
  list-style:none;
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 4px;
  font-weight:600;
  cursor:pointer;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item .faq-plus{
  width:22px; height:22px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  border:1px solid var(--border-strong);
  position:relative;
  transition: transform .2s ease;
}
.faq-item .faq-plus::before, .faq-item .faq-plus::after{
  content:""; position:absolute; background: var(--text);
}
.faq-item .faq-plus::before{ width:9px; height:1px; }
.faq-item .faq-plus::after{ width:1px; height:9px; }
.faq-item[open] .faq-plus{ transform: rotate(45deg); }
.faq-item p{ padding: 0 4px 20px; margin:0; }

/* =========== Forms =========== */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:.8rem; color: var(--text-muted); font-weight:500; }
.field input, .field textarea, .field select{
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus{
  outline: 2px solid var(--coral-soft);
  outline-offset: 1px;
  border-color: transparent;
}
.field textarea{ min-height: 130px; }
.radio-row{ display:flex; gap:20px; }
.radio-option{ display:flex; align-items:center; gap:8px; font-size:.9rem; color: var(--text-muted); }
.radio-option input{ accent-color: var(--coral); width:16px; height:16px; }

/* =========== Social circles =========== */
.social-row{ display:flex; flex-wrap:wrap; gap:16px; }
.social-circle{
  width:52px; height:52px;
  border-radius:50%;
  border: 1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.social-circle svg{ width:20px; height:20px; }
.social-circle:hover{ background: var(--gradient); color:#1a1315; transform: translateY(-3px); border-color:transparent; }

/* =========== Video embed (livestream) =========== */
.video-embed{
  position:relative; width:100%; aspect-ratio:16/9;
  border-radius: var(--radius-md);
  overflow:hidden;
  background: var(--bg-raised);
  border: 1px solid var(--border);
}
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* =========== Photo pairing (history / ministries / contact) =========== */
.photo-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}
.photo-frame img{ width:100%; height:100%; object-fit:cover; }
.photo-frame.wide{ aspect-ratio: 16/10; }

.ministry-photo{
  width:100%; aspect-ratio:4/3;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow:hidden;
  margin: -32px -32px 20px;
  width: calc(100% + 64px);
}
.ministry-photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Full-bleed closing photo band (homepage) */
.photo-band{
  position:relative;
  min-height: 420px;
  display:flex; align-items:center;
  overflow:hidden;
}
.photo-band-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
}
.photo-band .hero-scrim{
  background: linear-gradient(180deg, rgba(19,18,19,0.15) 0%, rgba(19,18,19,0.85) 100%);
}
.photo-band-inner{ position:relative; z-index:2; text-align:center; width:100%; }

/* =========== Footer =========== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  margin-top: 60px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 780px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer-col h4{
  font-family: var(--font-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.1em;
  color: var(--text-faint); margin-bottom:16px; font-weight:500;
}
.footer-col a, .footer-col p{ display:block; color: var(--text-muted); font-size:.9rem; margin-bottom:10px; }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top: 28px; border-top: 1px solid var(--border);
  font-size: .82rem; color: var(--text-faint);
}

/* =========== Location rows (paired card + map) =========== */
.location-row{ margin-bottom: 24px; align-items: center; }
.location-row:last-child{ margin-bottom: 0; }
.location-row.flip .card{ order: 2; }
.location-row.flip .map-embed{ order: 1; }

/* =========== Misc page bits =========== */
.badge-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom: 20px;}
.pill-tag{
  font-family: var(--font-mono); font-size:.75rem; letter-spacing:.05em;
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); color: var(--text-muted);
}
.divider{ height:1px; background: var(--border); margin: 64px 0; }

.map-embed{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid var(--border);
  height: 340px;
}
.map-embed iframe{ width:100%; height:100%; border:0; filter: grayscale(.4) invert(.92) contrast(.9); }

.placeholder-note{
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--lavender-soft);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display:inline-block;
  margin-bottom: 14px;
}

.bank-table{ width:100%; border-collapse:collapse; }
.bank-table th, .bank-table td{
  text-align:left; padding: 14px 16px; border-bottom: 1px solid var(--border); font-size:.92rem;
}
.bank-table th{ color: var(--text-faint); font-family: var(--font-mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; font-weight:500; }
.bank-table td.acct{ font-family: var(--font-mono); color: var(--coral-soft); }

.avatar-ph{
  width:100%; aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #2a2830, #1a1719);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-faint);
  margin-bottom: 16px;
  overflow:hidden;
}

.img-ph{
  background: linear-gradient(160deg, #2a2830, #1a1719);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-faint);
  border-radius: var(--radius-lg);
  overflow:hidden;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

[data-reveal]{
  opacity:0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].in{ opacity:1; transform:none; }

:focus-visible{ outline: 2px solid var(--coral-soft); outline-offset: 2px; }

@media (max-width: 680px){
  .ministry-photo{ margin: -24px -24px 18px; width: calc(100% + 48px); }
}
