  :root{
    --black: #060606;
    --black-2: #0e0e10;
    --black-3: #161618;
    --white: #ffffff;
    --gray: #d6d6d6;
    --gray-dim: #8f8f92;
    --red: #bf0f0f;
    --red-bright: #e0281f;
    --blue: #020381;
    --blue-bright: #2a2ad4;
    --gold: #c99a3b;
    --line: rgba(214,214,214,0.14);
    --arch: 400px;
  }

  *{ margin:0; padding:0; box-sizing:border-box; }

  html{ scroll-behavior:smooth; overflow-x:hidden; max-width:100%; }

  body{
    background:var(--black);
    color:var(--gray);
    font-family:'Inter', sans-serif;
    font-size:16px;
    line-height:1.6;
    overflow-x:hidden;
  }

  h1,h2,h3, .eyebrow, .display{
    font-family:'Fraunces', serif;
    color:var(--white);
    font-weight:500;
    letter-spacing:-0.01em;
  }

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

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

  .eyebrow{
    font-family:'Inter', sans-serif;
    font-size:12.5px;
    font-weight:600;
    letter-spacing:0.18em;
    text-transform:uppercase;
    color:var(--red-bright);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:22px; height:1px;
    background:var(--red-bright);
    display:inline-block;
  }

  /* ---------- Arch shape, used as the recurring signature motif ---------- */
  .arch{
    border-radius: 300px 300px 8px 8px;
    overflow:hidden;
    position:relative;
  }

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

  /* ================= NAV ================= */
  header{
    position:fixed;
    top:0; left:0; right:0;
    z-index:100;
    padding:22px 0;
    transition:background 0.4s ease, padding 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    border-bottom:1px solid transparent;
  }
  header.solid{
    background:rgba(6,6,6,0.86);
    backdrop-filter:blur(10px);
    padding:14px 0;
    border-color:var(--line);
  }
  header .wrap{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-family:'Fraunces', serif;
    font-size:17px;
    line-height:1.2;
    color:var(--white);
    letter-spacing:0.01em;
  }
  .logo img{ width:38px; height:38px; object-fit:contain; flex-shrink:0; }
  .logo .logo-text{ display:flex; flex-direction:column; }
  .logo .logo-text small{
    font-family:'Inter', sans-serif;
    font-size:10.5px;
    font-weight:600;
    letter-spacing:0.14em;
    color:var(--gray-dim);
    text-transform:uppercase;
  }
  .footer-brand .logo img{ width:46px; height:46px; }

  nav ul{
    display:flex;
    gap:28px;
    font-size:13.5px;
    font-weight:500;
    color:var(--gray);
  }
  nav ul a{ transition:color 0.25s ease; position:relative; }
  nav ul a:hover{ color:var(--white); }

  .nav-cta{
    display:flex;
    align-items:center;
    gap:22px;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:13px 26px;
    font-size:14px;
    font-weight:600;
    border-radius:3px;
    transition:all 0.25s ease;
    white-space:nowrap;
  }
  .btn-solid{
    background:var(--red);
    color:#fff;
    border:1px solid var(--red);
  }
  .btn-solid:hover{ background:var(--red-bright); border-color:var(--red-bright); }
  .btn-outline{
    border:1px solid rgba(214,214,214,0.35);
    color:var(--white);
  }
  .btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,0.06); }
  .btn-give{
    background:var(--gold);
    color:#161005;
    border:1px solid var(--gold);
  }
  .btn-give:hover{ background:#dcab48; border-color:#dcab48; }
  .nav-give{ padding:11px 22px; font-size:13.5px; }

  .hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    padding:6px;
  }
  .hamburger span{ width:22px; height:1.5px; background:var(--white); display:block; }

  /* ================= HERO — the daybreak glow ================= */
  .hero{
    position:relative;
    min-height:100vh;
    display:flex;
    align-items:flex-end;
    padding:180px 0 120px;
    overflow:hidden;
  }
  .hero-glow{
    position:absolute;
    left:50%; bottom:-40%;
    width:1400px; height:1400px;
    transform:translateX(-50%);
    background:
      radial-gradient(circle at 50% 100%, rgba(224,40,31,0.42) 0%, rgba(191,15,15,0.22) 22%, rgba(2,3,129,0.28) 46%, rgba(2,3,129,0.0) 68%);
    filter:blur(10px);
    animation: breathe 9s ease-in-out infinite;
    pointer-events:none;
  }
  @keyframes breathe{
    0%,100%{ opacity:0.75; transform:translateX(-50%) scale(1); }
    50%{ opacity:1; transform:translateX(-50%) scale(1.06); }
  }
  .hero-rays{
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0.5;
  }
  .hero-inner{
    position:relative;
    z-index:2;
    max-width:760px;
  }
  .hero h1{
    font-size:clamp(42px, 6.2vw, 84px);
    line-height:1.03;
    letter-spacing:-0.02em;
    margin-bottom:26px;
  }
  .hero h1 em{
    font-style:italic;
    font-weight:400;
    background:linear-gradient(90deg, var(--white) 0%, var(--gray) 100%);
    -webkit-background-clip:text;
    background-clip:text;
  }
  .hero p{
    font-size:18px;
    color:var(--gray);
    max-width:520px;
    margin-bottom:40px;
  }
  .hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }

  .hero-scroll{
    position:absolute;
    right:32px; bottom:44px;
    z-index:2;
    display:flex; flex-direction:column; align-items:center; gap:10px;
    font-size:11px; letter-spacing:0.16em; text-transform:uppercase;
    color:var(--gray-dim);
  }
  .hero-scroll .line{
    width:1px; height:52px;
    background:linear-gradient(to bottom, var(--gray-dim), transparent);
    animation: pulldown 2.4s ease-in-out infinite;
  }
  @keyframes pulldown{ 0%{opacity:0.2} 50%{opacity:1} 100%{opacity:0.2} }

  /* ================= SERVICE STRIP — glass card ================= */
  .strip{
    position:relative;
    z-index:2;
    margin-top:-64px;
    padding:0 32px;
  }
  .strip .wrap{
    display:flex;
    flex-wrap:wrap;
    gap:14px 48px;
    align-items:center;
    justify-content:space-between;
    max-width:1200px;
    margin:0 auto;
    padding:28px 40px;
    background:rgba(14,14,16,0.55);
    border:1px solid rgba(214,214,214,0.16);
    border-radius:18px;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    box-shadow:0 30px 60px rgba(0,0,0,0.4);
  }
  .strip-item{
    display:flex;
    align-items:baseline;
    gap:10px;
    font-size:14px;
    color:var(--gray-dim);
  }
  .strip-item strong{
    font-family:'Fraunces', serif;
    font-size:17px;
    font-weight:500;
    color:var(--white);
    letter-spacing:0;
  }
  .strip-item .dot{ color:var(--blue-bright); }

  /* ================= SECTION GENERIC ================= */
  section{ padding:130px 0; position:relative; }
  .section-head{
    max-width:640px;
    margin-bottom:64px;
  }
  .section-head h2{
    font-size:clamp(30px, 4vw, 46px);
    line-height:1.1;
  }

  /* ================= WELCOME ================= */
  .welcome{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
  }
  .welcome-art{
    aspect-ratio:4/5;
    background:
      radial-gradient(circle at 30% 20%, rgba(2,3,129,0.55), transparent 55%),
      radial-gradient(circle at 75% 85%, rgba(191,15,15,0.45), transparent 50%),
      var(--black-3);
    position:relative;
  }
  .welcome-art img{
    position:absolute; inset:0;
    width:100%; height:100%;
    object-fit:cover;
    object-position:15% 50%;
  }
  .welcome-art::after{
    content:"";
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(214,214,214,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(214,214,214,0.06) 1px, transparent 1px);
    background-size:34px 34px;
  }
  .welcome-art.has-photo::after{ display:none; }
  .welcome-text h2{
    font-size:clamp(30px,4vw,42px);
    line-height:1.14;
    margin-bottom:26px;
  }
  .welcome-text p{ margin-bottom:20px; max-width:480px; }
  .welcome-text p:last-of-type{ margin-bottom:34px; }

  /* GALLERY — "infinite drift" style horizontal bands of photos, uploaded
     from the admin dashboard. Pure CSS marquee (translateX loop over a
     duplicated track) rather than the WebGL version this was inspired by,
     so it stays lightweight, sits inline in the page instead of hijacking
     the viewport, and works reliably on mobile. */
  .gallery-section{ padding-bottom:80px; overflow:hidden; }
  .gallery-bands{ display:flex; flex-direction:column; gap:22px; margin-top:50px; }
  .gallery-band{
    display:flex; gap:16px; width:max-content;
    animation:galleryDrift linear infinite;
  }
  .gallery-band.dir-reverse{ animation-direction:reverse; }
  .gallery-band-row:nth-child(1) .gallery-band{ animation-duration:70s; }
  .gallery-band-row:nth-child(2) .gallery-band{ animation-duration:52s; }
  .gallery-band-row:nth-child(3) .gallery-band{ animation-duration:85s; }
  .gallery-band-row{ transform:rotate(-1.4deg); }
  .gallery-band-row:nth-child(2){ transform:rotate(1.1deg); }
  .gallery-band-row:nth-child(3){ transform:rotate(-0.7deg); }
  .gallery-photo{
    flex:none; width:260px; height:170px; border-radius:14px; overflow:hidden;
    border:1px solid var(--line); background:var(--black-3); position:relative;
  }
  .gallery-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
  @media (hover:hover){
    .gallery-bands:hover .gallery-band{ animation-play-state:paused; }
  }
  @keyframes galleryDrift{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }
  @media (max-width:720px){
    .gallery-photo{ width:180px; height:120px; }
    .gallery-bands{ gap:14px; }
  }

  .stat-row{
    display:flex;
    gap:44px;
    margin-top:8px;
  }
  .stat-row div strong{
    display:block;
    font-family:'Fraunces', serif;
    font-size:30px;
    color:var(--white);
    font-weight:500;
  }
  .stat-row div span{
    font-size:12.5px;
    color:var(--gray-dim);
    letter-spacing:0.05em;
    text-transform:uppercase;
  }

  /* ================= MINISTRIES ================= */
  .ministries-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
  }
  .m-card{
    position:relative;
    height:360px;
    border-radius:16px;
    overflow:hidden;
    border:1px solid var(--line);
    padding:0;
    transition:transform 0.35s ease, border-color 0.35s ease;
  }
  .m-card:hover{ transform:translateY(-6px); border-color:rgba(214,214,214,0.3); }
  .m-card-img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
    transition:transform 0.6s ease;
  }
  .m-card:hover .m-card-img{ transform:scale(1.06); }
  .m-card::before{
    /* light vignette only -- just enough for the title's glass panel to
       blend in at the bottom. Kept deliberately subtle so the ministry
       photo/art itself stays the focus. */
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(6,6,6,0.02) 0%, rgba(6,6,6,0.12) 60%, rgba(6,6,6,0.5) 100%);
    z-index:1;
  }
  .m-card-body{
    position:absolute; left:14px; right:14px; bottom:14px; z-index:2;
    background:rgba(14,14,16,0.55);
    border:1px solid rgba(214,214,214,0.16);
    border-radius:14px;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    box-shadow:0 20px 40px rgba(0,0,0,0.35);
    padding:16px 20px;
  }
  .m-card-body h3{ font-size:18px; font-weight:500; color:var(--white); margin:0; }
  .m-card-hover{
    max-height:0; opacity:0; overflow:hidden;
    transform:translateY(8px);
    transition:max-height 0.45s ease, opacity 0.35s ease, transform 0.45s ease, margin-top 0.4s ease;
  }
  .m-card:hover .m-card-hover,
  .m-card:focus-within .m-card-hover{
    max-height:160px; opacity:1; transform:translateY(0); margin-top:10px;
  }
  .m-card-hover p{ font-size:13.5px; color:var(--gray); margin:0; }

  /* ================= CONNECT FAMILIES ================= */
  .connect{
    --pink:#e0217a;
    --pink-dim:rgba(224,23,122,0.08);
    background:#d6d6d6;
    border-top:1px solid rgba(0,0,0,0.08);
    border-bottom:1px solid rgba(0,0,0,0.08);
  }
  .connect .eyebrow, .connect h2{ color:#141414; }
  .connect-intro{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:40px;
    flex-wrap:wrap;
    margin-bottom:44px;
  }
  .connect-intro p{
    max-width:440px;
    font-size:15px;
    color:#57575a;
  }
  .area-filter{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:36px;
  }
  .area-pill{
    padding:9px 18px;
    border:1px solid rgba(0,0,0,0.16);
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    color:#57575a;
    background:transparent;
    transition:border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }
  .area-pill:hover{ color:var(--pink); border-color:var(--pink); }
  .area-pill.active{
    background:var(--pink);
    border-color:var(--pink);
    color:var(--white);
  }
  .connect-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
  }
  .connect-card{
    background:rgba(255,255,255,0.5);
    border:1px solid rgba(255,255,255,0.7);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-radius:16px;
    padding:28px 26px;
    box-shadow:0 8px 24px rgba(0,0,0,0.06);
    transition:background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  }
  .connect-card:hover{
    background:rgba(255,255,255,0.68);
    border-color:var(--pink);
    box-shadow:0 16px 32px rgba(224,23,122,0.16);
    transform:translateY(-4px);
  }
  .connect-card.hidden{ display:none; }
  .connect-area{
    display:inline-block;
    font-size:11px;
    font-weight:600;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--pink);
    background:var(--pink-dim);
    border:1px solid rgba(224,23,122,0.3);
    border-radius:20px;
    padding:5px 12px;
    margin-bottom:18px;
  }
  .connect-when{
    font-family:'Fraunces', serif;
    font-size:22px;
    color:#141414;
    font-weight:500;
    margin-bottom:4px;
  }
  .connect-time{
    font-size:13px;
    color:#5c5c60;
    margin-bottom:18px;
  }
  .connect-card p.connect-desc{
    font-size:14px;
    color:#57575a;
    margin-bottom:20px;
  }
  .connect-host{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding-top:18px;
    border-top:1px solid rgba(0,0,0,0.1);
  }
  .connect-host span{ font-size:13.5px; color:#5c5c60; }
  .connect-host span strong{ color:#141414; font-weight:600; }
  .connect-join{
    font-size:13px;
    font-weight:600;
    color:var(--pink);
    white-space:nowrap;
    transition:color 0.2s ease;
  }
  .connect-join:hover{ color:#a8135e; text-decoration:underline; }
  .connect-empty{
    display:none;
    text-align:center;
    padding:50px 20px;
    color:#57575a;
    font-size:15px;
    border:1px dashed rgba(0,0,0,0.2);
  }
  .connect-empty.show{ display:block; }

  /* ================= TESTIMONIES ================= */
  .testi-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:26px;
  }
  .testi-card{
    background:var(--black-3);
    border:1px solid var(--line);
    padding:38px 30px 32px;
    display:flex;
    flex-direction:column;
    transition:border-color 0.3s ease, transform 0.3s ease;
  }
  .testi-card:hover{ border-color:rgba(214,214,214,0.3); transform:translateY(-4px); }
  .testi-mark{
    font-family:'Fraunces', serif;
    font-size:52px;
    line-height:1;
    color:var(--gold);
    margin-bottom:6px;
    font-weight:500;
  }
  .testi-quote{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-weight:400;
    font-size:19px;
    line-height:1.45;
    color:var(--white);
    margin-bottom:28px;
    flex-grow:1;
  }
  .testi-person{
    display:flex;
    align-items:center;
    gap:14px;
    padding-top:22px;
    border-top:1px solid var(--line);
  }
  .testi-avatar{
    width:42px; height:42px;
    border-radius:50%;
    flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    font-family:'Fraunces', serif;
    font-size:14px;
    color:var(--white);
    font-weight:500;
  }
  .testi-card:nth-child(1) .testi-avatar{ background:radial-gradient(circle at 30% 30%, var(--red-bright), var(--red) 70%); }
  .testi-card:nth-child(2) .testi-avatar{ background:radial-gradient(circle at 30% 30%, var(--blue-bright), var(--blue) 70%); }
  .testi-card:nth-child(3) .testi-avatar{ background:radial-gradient(circle at 30% 30%, var(--gold), #8a691f 70%); }
  .testi-person div span{
    display:block;
  }
  .testi-name{ font-size:14.5px; color:var(--white); font-weight:600; }
  .testi-role{ font-size:12.5px; color:var(--gray-dim); }

  .testi-cta{
    margin-top:50px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    padding-top:36px;
    border-top:1px solid var(--line);
  }
  .testi-cta p{ font-size:15px; color:var(--gray-dim); max-width:420px; }

  .admin-btn{
    width:36px; height:36px;
    border-radius:50%;
    border:1px solid var(--line);
    background:transparent;
    display:flex; align-items:center; justify-content:center;
    transition:border-color 0.25s ease, background 0.25s ease;
    flex-shrink:0;
  }
  .admin-btn svg{ width:15px; height:15px; }
  .admin-btn:hover{ border-color:var(--gray); background:rgba(255,255,255,0.06); }

  /* ================= ADMIN MODAL ================= */
  .modal-overlay{
    position:fixed; inset:0;
    background:rgba(2,2,3,0.82);
    backdrop-filter:blur(6px);
    z-index:200;
    display:flex; justify-content:center;
    /* Scroll the overlay itself when the modal is taller than the viewport.
       The box uses margin:auto (below) so it still centers when it fits, but
       starts at the top -- never clipped -- when it doesn't. */
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:24px;
    opacity:0; visibility:hidden;
    transition:opacity 0.3s ease, visibility 0.3s ease;
  }
  .modal-overlay.open{ opacity:1; visibility:visible; }
  .modal-box{
    width:100%; max-width:400px;
    margin:auto;
    background:var(--black-3);
    border:1px solid var(--line);
    position:relative;
    padding:44px 36px 36px;
    transform:translateY(14px);
    transition:transform 0.3s ease;
  }
  .modal-overlay.open .modal-box{ transform:translateY(0); }
  .modal-box::before{
    content:"";
    position:absolute; top:0; left:0; right:0; height:3px;
    background:linear-gradient(90deg, var(--red), var(--blue));
  }
  .modal-close{
    position:absolute; top:16px; right:16px;
    width:30px; height:30px;
    border:none; background:transparent;
    display:flex; align-items:center; justify-content:center;
    color:var(--gray-dim);
  }
  .modal-close:hover{ color:var(--white); }
  .modal-close svg{ width:16px; height:16px; }
  .modal-eyebrow{
    font-size:12px; letter-spacing:0.14em; text-transform:uppercase;
    color:var(--gray-dim); font-weight:600; margin-bottom:10px;
  }
  .modal-box h3{ font-size:24px; margin-bottom:8px; }
  .modal-box > p{ font-size:14px; color:var(--gray-dim); margin-bottom:28px; }
  .field{ margin-bottom:18px; }
  .field label{
    display:block; font-size:12.5px; font-weight:600;
    color:var(--gray); margin-bottom:8px; letter-spacing:0.02em;
  }
  .field input{
    width:100%;
    background:var(--black-2);
    border:1px solid var(--line);
    color:var(--white);
    font-family:'Inter', sans-serif;
    font-size:14.5px;
    padding:12px 14px;
    border-radius:2px;
    transition:border-color 0.2s ease;
  }
  .field input:focus{ outline:none; border-color:var(--red-bright); }
  .field-hint{ display:block; font-size:11.5px; color:var(--gray-dim); margin-top:6px; line-height:1.4; }
  .field input:disabled{ opacity:0.65; cursor:not-allowed; }
  .modal-box .btn{ width:100%; margin-top:6px; }
  .modal-note{
    font-size:12.5px;
    color:var(--gray-dim);
    margin-top:18px;
    line-height:1.5;
    border-top:1px solid var(--line);
    padding-top:16px;
  }

  /* Give modal extras */
  .give-error{
    background:rgba(224,40,31,0.12); border:1px solid rgba(224,40,31,0.35); color:#ff9686;
    font-size:13px; line-height:1.4; padding:11px 14px; border-radius:6px; margin-bottom:16px;
  }
  .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .field-row .field{ min-width:0; }
  @media (max-width:420px){ .field-row{ grid-template-columns:1fr; } }
  .amount-custom{ position:relative; }
  .amount-custom-prefix{
    position:absolute; left:14px; top:50%; transform:translateY(-50%);
    color:var(--gray-dim); font-size:14.5px; font-weight:600; pointer-events:none;
  }
  .amount-custom input{ padding-left:28px !important; }
  .give-secure-note{
    display:flex; align-items:flex-start; gap:7px;
    font-size:11.5px; color:var(--gray-dim); line-height:1.4; margin-top:12px;
  }
  .give-secure-note svg{ flex-shrink:0; margin-top:1px; color:var(--gray-dim); }
  .btn-give:disabled{ opacity:0.7; cursor:default; }
  .btn-give:disabled:hover{ background:var(--gold); border-color:var(--gold); }
  .btn-give .spinner{
    display:inline-block; width:14px; height:14px; margin-right:8px; vertical-align:-2px;
    border:2px solid rgba(22,16,5,0.35); border-top-color:#161005; border-radius:50%;
    animation:btn-give-spin 0.7s linear infinite;
  }
  @keyframes btn-give-spin{ to{ transform:rotate(360deg); } }

  .freq-toggle{
    display:flex;
    border:1px solid var(--line);
    border-radius:3px;
    overflow:hidden;
    margin-bottom:22px;
  }
  .freq-toggle button{
    flex:1;
    background:transparent;
    border:none;
    color:var(--gray-dim);
    font-size:13.5px;
    font-weight:600;
    padding:11px 0;
    transition:background 0.2s ease, color 0.2s ease;
  }
  .freq-toggle button.active{ background:var(--gold); color:#161005; }
  .amount-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin-bottom:16px;
  }
  .amount-pill{
    padding:12px 0;
    text-align:center;
    border:1px solid var(--line);
    border-radius:3px;
    font-size:14.5px;
    font-weight:600;
    color:var(--white);
    background:var(--black-2);
    transition:border-color 0.2s ease, background 0.2s ease;
  }
  .amount-pill.active{ border-color:var(--gold); background:rgba(201,154,59,0.14); color:var(--gold); }
  .field select{
    width:100%;
    background:var(--black-2);
    border:1px solid var(--line);
    color:var(--white);
    font-family:'Inter', sans-serif;
    font-size:14.5px;
    padding:12px 14px;
    border-radius:2px;
    appearance:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f92' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 14px center;
    background-size:16px;
  }
  .give-alt{
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--line);
  }
  .give-alt h4{
    font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--gray-dim); font-weight:600; margin-bottom:10px;
  }
  .give-alt p{ font-size:13px; color:var(--gray-dim); margin-bottom:6px; }
  .give-alt p strong{ color:var(--gray); font-weight:600; }
  @media (max-width:480px){
    .modal-overlay{ padding:14px; }
    .modal-box{ padding:40px 22px 28px; }
  }

  /* ================= PODCAST =================
     Layout takes cues from Apple Podcasts' "New" page: a horizontally
     scrolling row of large "featured" cards with an overlay tag + title,
     followed by a compact numbered list of every series (rank, small
     square cover, title/meta, chevron) instead of one flat card grid. */
  .podcast{
    background:var(--black-2);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .podcast-platforms{
    display:flex;
    gap:12px;
    margin-bottom:48px;
    flex-wrap:wrap;
  }
  .platform-pill{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:10px 18px;
    border:1px solid var(--line);
    border-radius:30px;
    font-size:13.5px;
    font-weight:500;
    color:var(--gray);
    transition:border-color 0.2s ease, color 0.2s ease;
  }
  .platform-pill svg{ width:15px; height:15px; }
  .platform-pill:hover{ border-color:var(--gray); color:var(--white); }

  .pod-row-label{
    display:block;
    font-size:12px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
    color:var(--gray-dim); margin-bottom:16px;
  }
  .pod-row-label:not(:first-child){ margin-top:44px; }

  /* -------- Featured row: large overlay cards -------- */
  .pod-featured-row{
    display:flex;
    gap:18px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding-bottom:8px;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .pod-featured-row::-webkit-scrollbar{ display:none; }
  .pod-feature-card{
    scroll-snap-align:start;
    flex:0 0 320px;
    position:relative;
    border-radius:20px;
    overflow:hidden;
    aspect-ratio:16/10;
    display:flex; align-items:flex-end;
    box-shadow:0 16px 34px rgba(0,0,0,0.4);
    transition:transform 0.3s ease, box-shadow 0.3s ease;
  }
  .pod-feature-card:hover{ transform:translateY(-3px); box-shadow:0 20px 42px rgba(0,0,0,0.5); }
  .pod-feature-art{
    position:absolute; inset:0; z-index:0;
    background:var(--black-3);
  }
  .pod-feature-card::after{
    content:""; position:absolute; inset:0; z-index:1;
    background:linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 55%, transparent 85%);
  }
  .pod-feature-tag{
    position:absolute; top:16px; left:16px; z-index:2;
    font-size:10.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
    color:var(--white); background:rgba(255,255,255,0.14); backdrop-filter:blur(6px);
    padding:5px 11px; border-radius:20px;
  }
  .pod-feature-copy{ position:relative; z-index:2; padding:18px 20px; }
  .pod-feature-copy h3{ font-size:19px; font-weight:600; margin-bottom:6px; color:var(--white); }
  .pod-feature-copy p{
    font-size:12.5px; color:rgba(255,255,255,0.75); max-width:88%;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .pod-feature-art.all{
    background:var(--black-3);
  }
  .pod-feature-all::before{
    content:"";
    position:absolute; z-index:2; inset:0; margin:auto; width:56px; height:56px;
    border:1.5px solid rgba(255,255,255,0.35); border-radius:50%;
    background-color:rgba(255,255,255,0.06);
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:center; background-size:22px;
  }

  /* Podcast cover themes -- data-driven from the admin-managed
     podcast_series.artTheme column. Applied via .theme-ember / .theme-indigo
     / .theme-crimson / .theme-regal to whichever art element needs it
     (.pod-feature-art on the homepage, .show-art on an individual series
     page). Longhand background-image (not the `background` shorthand) so
     these don't clobber background-size/position on elements where a
     caller sets an inline background-image for uploaded cover art. */
  .pod-feature-art.theme-ember, .show-art.theme-ember{ background-image:radial-gradient(circle at 25% 20%, rgba(201,154,59,0.85), rgba(191,15,15,0.35) 60%, var(--black-3) 100%); }
  .pod-feature-art.theme-indigo, .show-art.theme-indigo{ background-image:radial-gradient(circle at 25% 20%, rgba(2,3,129,0.85), rgba(42,42,212,0.35) 60%, var(--black-3) 100%); }
  .pod-feature-art.theme-crimson, .show-art.theme-crimson{ background-image:radial-gradient(circle at 25% 20%, rgba(224,40,31,0.85), rgba(191,15,15,0.35) 60%, var(--black-3) 100%); }
  .pod-feature-art.theme-regal, .show-art.theme-regal{ background-image:radial-gradient(circle at 25% 20%, rgba(201,154,59,0.85), rgba(2,3,129,0.35) 60%, var(--black-3) 100%); }

  /* ================= COURSES ================= */
  /* .course-grid / .course-card / .course-top / .course-level /
     .course-duration / .course-enroll are still used by the member
     portal's "My courses" tab (member-portal.js) and by admin's course
     preview cards. The .courses section wrapper and its nth-child colour
     cycling were only for the homepage's static course section, which has
     moved into the member portal -- removed along with it. */
  .course-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
  }
  .course-card{
    background:var(--black-3);
    border:1px solid var(--line);
    padding:30px 28px;
    transition:border-color 0.3s ease, transform 0.3s ease;
  }
  .course-card:hover{ border-color:rgba(214,214,214,0.3); transform:translateY(-4px); }
  .course-top{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
  .course-level{
    font-size:11px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
    padding:5px 12px; border-radius:20px;
  }
  /* Category-based coloring for admin-managed courses (member portal), which
     can run to any number of cards -- nth-child cycling above is scoped to
     the homepage's hand-picked static courses only, so it can't conflict. */
  .course-level.cat-online{ color:var(--blue-bright); border:1px solid rgba(2,3,129,0.55); }
  .course-level.cat-physical{ color:var(--gold); border:1px solid rgba(201,154,59,0.4); }
  .course-duration{ font-size:12.5px; color:var(--gray-dim); }
  .course-card h3{ font-size:20px; font-weight:500; margin-bottom:10px; }
  .course-card p{ font-size:14px; color:var(--gray-dim); margin-bottom:22px; }
  .course-enroll{
    display:inline-flex; align-items:center; gap:8px;
    font-size:13.5px; font-weight:600; color:var(--white);
  }
  .course-enroll svg{ width:12px; height:12px; transition:transform 0.2s ease; }
  .course-card:hover .course-enroll svg{ transform:translateX(3px); }

  /* ================= SERMON ================= */
  .sermon{
    background:var(--black-2);
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .sermon-inner{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:70px;
    align-items:center;
  }
  .sermon-art{
    aspect-ratio:1/1;
    position:relative;
    background:var(--black-3);
    display:flex; align-items:center; justify-content:center;
    background:
      radial-gradient(circle at 50% 50%, rgba(191,15,15,0.35), rgba(2,3,129,0.35) 60%, transparent 78%),
      var(--black-3);
  }
  .play-btn{
    width:76px; height:76px;
    border-radius:50%;
    background:var(--red);
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 0 0 1px rgba(255,255,255,0.15), 0 20px 50px rgba(191,15,15,0.4);
    transition:transform 0.3s ease;
    cursor:pointer;
  }
  .play-btn:hover{ transform:scale(1.08); }
  .play-btn svg{ width:22px; height:22px; margin-left:3px; }
  .sermon-copy .eyebrow{ color:var(--gray-dim); }
  .sermon-copy .eyebrow::before{ background:var(--gray-dim); }
  .sermon-copy h2{ font-size:clamp(28px,3.6vw,38px); margin-bottom:18px; line-height:1.15; }
  .sermon-copy p{ margin-bottom:30px; max-width:460px; }

  /* ================= EVENTS ================= */
  .events-list{
    display:flex;
    flex-direction:column;
  }
  .event-row{
    display:grid;
    grid-template-columns:110px 1fr auto;
    gap:32px;
    align-items:center;
    padding:30px 0;
    border-top:1px solid var(--line);
    transition:padding-left 0.3s ease;
  }
  .events-list .event-row:last-child{ border-bottom:1px solid var(--line); }
  .event-row:hover{ padding-left:12px; }
  .event-date{
    font-family:'Fraunces', serif;
    color:var(--white);
  }
  .event-date .day{ font-size:34px; font-weight:500; line-height:1; }
  .event-date .month{ font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue-bright); }
  .event-info h3{ font-size:19px; font-weight:500; margin-bottom:6px; }
  .event-info p{ font-size:14px; color:var(--gray-dim); }
  .event-arrow{
    width:38px; height:38px;
    border:1px solid var(--line);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .event-arrow svg{ width:14px; height:14px; }

  /* ================= VISIT / LOCATION ================= */
  .visit{
    background:var(--black-2);
    border-top:1px solid var(--line);
  }
  .visit-inner{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    border:1px solid var(--line);
  }
  .visit-map{
    position:relative;
    min-height:420px;
    background:var(--black-3);
    overflow:hidden;
  }
  .visit-map iframe{
    position:absolute; inset:0;
    width:100%; height:100%;
    border:0;
    filter:grayscale(0.15) contrast(1.05);
  }
  .visit-info{
    padding:64px 56px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .visit-info h2{ font-size:clamp(26px,3vw,34px); margin-bottom:28px; }
  .visit-block{ margin-bottom:26px; }
  .visit-block h4{
    font-size:12px; letter-spacing:0.12em; text-transform:uppercase;
    color:var(--gray-dim); margin-bottom:8px; font-weight:600;
  }
  .visit-block p{ color:var(--white); font-size:15.5px; }
  .visit-info .btn{ align-self:flex-start; margin-top:8px; }

  /* ================= FOOTER ================= */
  footer{ padding:70px 0 40px; }
  .footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:50px;
    padding-bottom:50px;
    border-bottom:1px solid var(--line);
    margin-bottom:34px;
  }
  .footer-brand .logo{ margin-bottom:16px; }
  .footer-brand p{ font-size:14px; color:var(--gray-dim); max-width:340px; }
  .footer-cols{ display:flex; gap:64px; }
  .footer-col h4{
    font-size:12px; letter-spacing:0.1em; text-transform:uppercase;
    color:var(--gray-dim); margin-bottom:16px; font-weight:600;
  }
  .footer-col ul li{ margin-bottom:11px; font-size:14.5px; }
  .footer-col ul a{ color:var(--gray); transition:color 0.2s ease; }
  .footer-col ul a:hover{ color:var(--white); }
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
    font-size:13px;
    color:var(--gray-dim);
  }
  .socials{ display:flex; gap:16px; }
  .socials a{
    width:34px; height:34px;
    border:1px solid var(--line);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    transition:border-color 0.2s ease, background 0.2s ease;
  }
  .socials a:hover{ border-color:var(--gray); background:rgba(255,255,255,0.05); }
  .socials svg{ width:15px; height:15px; }

  /* ================= JS-ENHANCED: NAV SCROLLSPY ================= */
  nav ul a{ position:relative; padding-bottom:2px; }
  nav ul a::after{
    content:"";
    position:absolute; left:0; bottom:-6px;
    width:0; height:1px;
    background:var(--red-bright);
    transition:width 0.3s ease;
  }
  nav ul a:hover::after{ width:100%; }
  nav ul a.active{ color:var(--white); }
  nav ul a.active::after{ width:100%; }

  /* ================= JS-ENHANCED: TILT CARDS ================= */
  .m-card, .connect-card, .testi-card, .pod-feature-card, .course-card{
    transform-style:preserve-3d;
    will-change:transform;
  }

  /* ================= JS-ENHANCED: HERO CURSOR GLOW ================= */
  .hero-cursor-glow{
    position:absolute;
    width:420px; height:420px;
    left:0; top:0;
    background:radial-gradient(circle, rgba(224,40,31,0.14) 0%, rgba(2,3,129,0.08) 45%, transparent 72%);
    border-radius:50%;
    transform:translate(-50%,-50%);
    pointer-events:none;
    opacity:0;
    transition:opacity 0.4s ease;
    z-index:1;
  }
  .hero:hover .hero-cursor-glow{ opacity:1; }

  /* ================= JS-ENHANCED: BACK TO TOP ================= */
  .back-to-top{
    position:fixed;
    right:26px; bottom:26px;
    width:46px; height:46px;
    border-radius:50%;
    background:var(--black-3);
    border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    opacity:0; visibility:hidden;
    transform:translateY(12px);
    transition:opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    z-index:90;
  }
  .back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
  .back-to-top:hover{ border-color:var(--gray); background:rgba(255,255,255,0.06); }
  .back-to-top svg{ width:17px; height:17px; transition:transform 0.25s ease; }
  .back-to-top:hover svg{ transform:translateY(-2px); }

  /* ================= JS-ENHANCED: TOASTS ================= */
  .toast-wrap{
    position:fixed;
    left:50%; bottom:30px;
    transform:translateX(-50%);
    z-index:300;
    display:flex; flex-direction:column-reverse;
    gap:10px;
    align-items:center;
    pointer-events:none;
  }
  .toast{
    background:var(--black-3);
    border:1px solid var(--line);
    color:var(--white);
    font-size:13.5px;
    font-weight:500;
    padding:13px 24px;
    border-radius:30px;
    white-space:nowrap;
    opacity:0;
    transform:translateY(14px) scale(0.96);
    transition:opacity 0.35s ease, transform 0.35s ease;
    box-shadow:0 12px 30px rgba(0,0,0,0.45);
    display:flex; align-items:center; gap:9px;
  }
  .toast.show{ opacity:1; transform:translateY(0) scale(1); }
  .toast .toast-dot{ width:6px; height:6px; border-radius:50%; background:var(--red-bright); flex-shrink:0; }

  /* ================= JS-ENHANCED: RIPPLE ================= */
  .btn, .area-pill, .amount-pill, .freq-toggle button, .admin-btn, .back-to-top, .play-btn{
    position:relative;
    overflow:hidden;
  }
  .js-ripple{
    position:absolute;
    border-radius:50%;
    background:rgba(255,255,255,0.45);
    transform:scale(0);
    animation:jsRippleAnim 0.6s ease-out forwards;
    pointer-events:none;
  }
  @keyframes jsRippleAnim{ to{ transform:scale(2.8); opacity:0; } }

  /* ================= JS-ENHANCED: SERMON PLAYER ================= */
  .play-btn.playing{ animation:ringPulse 1.7s ease-out infinite; }
  .play-btn svg{ transition:opacity 0.15s ease; }
  @keyframes ringPulse{
    0%{ box-shadow:0 0 0 1px rgba(255,255,255,0.15), 0 0 0 0 rgba(255,255,255,0.35); }
    100%{ box-shadow:0 0 0 1px rgba(255,255,255,0.15), 0 0 0 26px rgba(255,255,255,0); }
  }

  /* ================= JS-ENHANCED: COPY-TO-COPY ================= */
  .js-copyable{ cursor:pointer; transition:color 0.2s ease; }
  .js-copyable:hover{ color:var(--white); }

  /* ================= JS-ENHANCED: STAT COUNTER ================= */
  .stat-row div strong{ display:inline-block; min-width:1ch; }

  @media (max-width:760px){
    .back-to-top{ right:16px; bottom:16px; width:42px; height:42px; }
    .hero-cursor-glow{ display:none; }
  }

  @media (prefers-reduced-motion: reduce){
    .play-btn.playing{ animation:none; }
  }

  /* ================= RESPONSIVE ================= */
  @media (max-width:980px){
    .ministries-grid{ grid-template-columns:repeat(2,1fr); }
    .welcome, .sermon-inner{ grid-template-columns:1fr; gap:40px; }
    .visit-inner{ grid-template-columns:1fr; }
    .visit-map{ min-height:280px; }
    .testi-grid{ grid-template-columns:1fr; }
    .course-grid{ grid-template-columns:1fr; }
    .pod-feature-card{ flex-basis:260px; }
    .connect-grid{ grid-template-columns:repeat(2,1fr); }
  }

  /* Switch to the hamburger menu earlier than the rest of the mobile layout
     kicks in -- at in-between (tablet/small-laptop) widths the full desktop
     nav + CTA buttons can get tight for space before 760px, which was
     causing the page to become horizontally scrollable. Give it more room. */
  @media (max-width:900px){
    nav, .nav-cta .btn-outline{ display:none; }
    .hamburger{ display:flex; }
  }

  @media (max-width:760px){
    .logo{ font-size:14px; }
    .logo img{ width:32px; height:32px; }
    .hero{ padding:150px 0 90px; align-items:flex-end; }
    .hero-ctas{ flex-direction:column; align-items:stretch; }
    section{ padding:90px 0; }
    .ministries-grid{ grid-template-columns:1fr; }
    .m-card{ height:300px; }
    .strip{ margin-top:-40px; padding:0 20px; }
    .strip .wrap{ flex-direction:column; align-items:flex-start; padding:22px 24px; }
    .page-strip{ margin-top:-30px; padding:0 20px 50px; }
    .page-strip .wrap{ flex-direction:column; align-items:flex-start; padding:22px 24px; }
    .event-row{ grid-template-columns:70px 1fr; }
    .event-arrow{ display:none; }
    .footer-top{ flex-direction:column; }
    .footer-cols{ gap:40px; flex-wrap:wrap; }
    .visit-info{ padding:44px 28px; }
    .testi-cta{ flex-direction:column; align-items:flex-start; }
    .connect-grid{ grid-template-columns:1fr; }
    .connect-intro{ flex-direction:column; align-items:flex-start; }
  }

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

/* ================================================================
   SHARED INNER-PAGE ADDITIONS
   Extends the COGOP design system for secondary pages.
================================================================ */

/* ---------- Inner hero (shorter than homepage hero) ---------- */
.inner-hero{
  position:relative;
  min-height:62vh;
  display:flex;
  align-items:flex-end;
  padding:190px 0 90px;
  overflow:hidden;
}
.inner-hero .hero-glow{ bottom:-55%; }
.inner-hero-inner{ position:relative; z-index:2; max-width:720px; }
.inner-hero h1{
  font-size:clamp(38px, 5.4vw, 68px);
  line-height:1.05;
  letter-spacing:-0.02em;
  margin-bottom:22px;
}
.inner-hero p{ font-size:17.5px; color:var(--gray); max-width:520px; margin-bottom:34px; }
.inner-hero .hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; }
.breadcrumb{
  display:flex; align-items:center; gap:8px;
  font-size:12.5px; color:var(--gray-dim); margin-bottom:22px;
  position:relative; z-index:2;
}
.breadcrumb a{ color:var(--gray-dim); transition:color 0.2s ease; }
.breadcrumb a:hover{ color:var(--white); }
.breadcrumb span{ color:var(--gray-dim); opacity:0.5; }

/* ---------- Icon badge (used atop cards / steps) ---------- */
.icon-badge{
  width:52px; height:52px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  background:radial-gradient(circle at 30% 25%, rgba(191,15,15,0.5), rgba(2,3,129,0.3) 75%);
}
.icon-badge svg{ width:22px; height:22px; }
.icon-badge.blue{ background:radial-gradient(circle at 30% 25%, rgba(2,3,129,0.65), rgba(42,42,212,0.25) 75%); }
.icon-badge.gold{ background:radial-gradient(circle at 30% 25%, rgba(201,154,59,0.6), rgba(191,15,15,0.2) 75%); }
.icon-badge.red{ background:radial-gradient(circle at 30% 25%, rgba(224,40,31,0.65), rgba(191,15,15,0.3) 75%); }

/* ---------- Info / feature grid (3-up cards with icon) ---------- */
.info-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.info-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.info-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
.info-card{
  background:var(--black-2);
  border:1px solid var(--line);
  padding:32px 26px;
  transition:transform 0.35s ease, border-color 0.35s ease;
}
.info-card:hover{ transform:translateY(-6px); border-color:rgba(214,214,214,0.3); }
.info-card .icon-badge{ margin-bottom:20px; }
.info-card h3{ font-size:18.5px; margin-bottom:10px; font-weight:500; }
.info-card p{ font-size:14px; color:var(--gray-dim); }

/* ---------- Numbered step list ---------- */
.step-list{ display:flex; flex-direction:column; }
.step-row{
  display:grid;
  grid-template-columns:56px 1fr;
  gap:26px;
  padding:28px 0;
  border-top:1px solid var(--line);
}
.step-list .step-row:last-child{ border-bottom:1px solid var(--line); }
.step-num{
  font-family:'Fraunces', serif;
  font-size:26px;
  font-weight:500;
  color:var(--gray-dim);
}
.step-body h3{ font-size:18px; font-weight:500; margin-bottom:8px; }
.step-body p{ font-size:14.5px; color:var(--gray-dim); max-width:560px; }

/* ---------- Two column split (copy + art) ---------- */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}
.split.reverse{ direction:rtl; }
.split.reverse > *{ direction:ltr; }
.split-art{
  aspect-ratio:4/5;
  position:relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(2,3,129,0.55), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(191,15,15,0.45), transparent 50%),
    var(--black-3);
}
.split-art::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(214,214,214,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,214,214,0.06) 1px, transparent 1px);
  background-size:34px 34px;
}
.split-art.warm{
  background:
    radial-gradient(circle at 30% 20%, rgba(191,15,15,0.5), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(201,154,59,0.4), transparent 50%),
    var(--black-3);
}

/* ---------- Accordion (FAQ) ---------- */
.accordion{ border-top:1px solid var(--line); }
.acc-item{ border-bottom:1px solid var(--line); }
.acc-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
  padding:26px 4px;
  background:none; border:none;
  text-align:left;
  font-family:'Fraunces', serif;
  font-size:19px;
  font-weight:500;
  color:var(--white);
}
.acc-q .acc-plus{
  width:26px; height:26px;
  border:1px solid var(--line);
  border-radius:50%;
  flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  position:relative;
  transition:border-color 0.2s ease, transform 0.3s ease;
}
.acc-q .acc-plus::before, .acc-q .acc-plus::after{
  content:"";
  position:absolute;
  background:var(--gray);
  transition:opacity 0.2s ease, background 0.2s ease;
}
.acc-q .acc-plus::before{ width:10px; height:1px; }
.acc-q .acc-plus::after{ width:1px; height:10px; }
.acc-item.open .acc-plus{ transform:rotate(45deg); border-color:var(--gray); }
.acc-a{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease;
}
.acc-a p{ padding:0 4px 26px; font-size:14.5px; color:var(--gray-dim); max-width:640px; }
.acc-item.open .acc-a{ max-height:300px; }

/* ---------- Generic form card ---------- */
.form-card{
  background:var(--black-2);
  border:1px solid var(--line);
  padding:44px;
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .field.full{ grid-column:1 / -1; }
.field textarea{
  width:100%;
  background:var(--black-2);
  border:1px solid var(--line);
  color:var(--white);
  font-family:'Inter', sans-serif;
  font-size:14.5px;
  padding:12px 14px;
  border-radius:2px;
  resize:vertical;
  min-height:140px;
  transition:border-color 0.2s ease;
}
.field textarea:focus{ outline:none; border-color:var(--red-bright); }
.field-check{
  display:flex; align-items:flex-start; gap:10px;
  font-size:13px; color:var(--gray-dim);
}
.field-check input{ margin-top:3px; accent-color:var(--red-bright); }

/* ---------- Pull quote ---------- */
.pull-quote{
  font-family:'Fraunces', serif;
  font-style:italic;
  font-weight:400;
  font-size:clamp(22px,2.6vw,30px);
  line-height:1.4;
  color:var(--white);
  max-width:760px;
}
.pull-quote cite{
  display:block;
  font-family:'Inter', sans-serif;
  font-style:normal;
  font-size:13px;
  color:var(--gray-dim);
  margin-top:20px;
  letter-spacing:0.02em;
}

/* ---------- Schedule strip (reuse .strip pattern inline on pages) ---------- */
.page-strip{
  position:relative;
  z-index:2;
  margin-top:-48px;
  padding:0 32px 70px;
}
.page-strip .wrap{
  display:flex; flex-wrap:wrap; gap:12px 48px;
  align-items:center; justify-content:space-between;
  max-width:1180px; margin:0 auto;
  padding:26px 40px;
  background:var(--black-2);
  border:1px solid var(--line);
  border-radius:20px;
}
.page-strip .strip-item .dot{ color:var(--red-bright); }

/* ---------- Tag pill (non-interactive label) ---------- */
.tag{
  display:inline-block;
  font-size:11px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--blue-bright);
  border:1px solid rgba(2,3,129,0.55);
  border-radius:20px;
  padding:5px 12px;
}
.tag.red{ color:var(--red-bright); border-color:rgba(191,15,15,0.45); }
.tag.gold{ color:var(--gold); border-color:rgba(201,154,59,0.45); }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:var(--black-2);
  border:1px solid var(--line);
  padding:56px;
  display:flex; align-items:center; justify-content:space-between;
  gap:32px; flex-wrap:wrap;
}
.cta-banner h2{ font-size:clamp(24px,2.8vw,32px); margin-bottom:10px; }
.cta-banner p{ color:var(--gray-dim); font-size:15px; max-width:460px; }
.cta-banner .btns{ display:flex; gap:14px; flex-wrap:wrap; }

.footer-cols{ flex-wrap:wrap; row-gap:40px; }
a.m-card{ display:block; }
.m-card-more{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:600; color:var(--gray-dim);
  margin-top:14px; transition:color 0.2s ease, gap 0.2s ease;
}
.m-card:hover .m-card-more{ color:var(--white); gap:9px; }
.m-card-more svg{ width:11px; height:11px; }

@media (max-width:980px){
  .info-grid, .info-grid.cols-2, .info-grid.cols-4{ grid-template-columns:repeat(2,1fr); }
  .split{ grid-template-columns:1fr; gap:40px; }
  .form-grid{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .info-grid, .info-grid.cols-2, .info-grid.cols-4{ grid-template-columns:1fr; }
  .inner-hero{ padding:150px 0 70px; min-height:auto; }
  .form-card{ padding:28px 22px; }
  .cta-banner{ padding:36px 26px; flex-direction:column; align-items:flex-start; }
  .step-row{ grid-template-columns:40px 1fr; gap:16px; }
}

/* ================================================================
   MINISTRY THEMES
   Each ministry page tints the shared design system's accent
   variables and glow/badge gradients for an age-appropriate feel,
   without touching layout, type, or structure.
================================================================ */

/* ---------- COGOP Kids: bright, warm, playful ---------- */
body.theme-kids{
  --red: #d9720c;
  --red-bright: #f2941f;
  --blue: #0f766e;
  --blue-bright: #17b39b;
  --gold: #ffce54;
}
body.theme-kids .hero-glow{
  background:
    radial-gradient(circle at 50% 100%, rgba(242,148,31,0.45) 0%, rgba(217,114,12,0.24) 22%, rgba(15,118,110,0.28) 46%, rgba(15,118,110,0.0) 68%);
}
body.theme-kids .hero-cursor-glow{
  background:radial-gradient(circle, rgba(242,148,31,0.16) 0%, rgba(15,118,110,0.1) 45%, transparent 72%);
}
body.theme-kids .icon-badge{ background:radial-gradient(circle at 30% 25%, rgba(217,114,12,0.5), rgba(15,118,110,0.3) 75%); }
body.theme-kids .icon-badge.blue{ background:radial-gradient(circle at 30% 25%, rgba(15,118,110,0.65), rgba(23,179,155,0.25) 75%); }
body.theme-kids .icon-badge.gold{ background:radial-gradient(circle at 30% 25%, rgba(255,206,84,0.6), rgba(217,114,12,0.2) 75%); }
body.theme-kids .icon-badge.red{ background:radial-gradient(circle at 30% 25%, rgba(242,148,31,0.65), rgba(217,114,12,0.3) 75%); }
body.theme-kids .split-art,
body.theme-kids .welcome-art{
  background:
    radial-gradient(circle at 30% 20%, rgba(15,118,110,0.5), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(242,148,31,0.4), transparent 50%),
    var(--black-3);
}
body.theme-kids .split-art.warm{
  background:
    radial-gradient(circle at 30% 20%, rgba(217,114,12,0.5), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(255,206,84,0.4), transparent 50%),
    var(--black-3);
}

/* ---------- Youth: bold, high-energy ---------- */
body.theme-youth{
  --red: #d81159;
  --red-bright: #ff2e75;
  --blue: #4c1d95;
  --blue-bright: #8b5cf6;
  --gold: #f2b705;
}
body.theme-youth .hero-glow{
  background:
    radial-gradient(circle at 50% 100%, rgba(255,46,117,0.42) 0%, rgba(216,17,89,0.24) 22%, rgba(76,29,149,0.3) 46%, rgba(76,29,149,0.0) 68%);
}
body.theme-youth .hero-cursor-glow{
  background:radial-gradient(circle, rgba(255,46,117,0.15) 0%, rgba(76,29,149,0.1) 45%, transparent 72%);
}
body.theme-youth .icon-badge{ background:radial-gradient(circle at 30% 25%, rgba(216,17,89,0.5), rgba(76,29,149,0.3) 75%); }
body.theme-youth .icon-badge.blue{ background:radial-gradient(circle at 30% 25%, rgba(76,29,149,0.65), rgba(139,92,246,0.25) 75%); }
body.theme-youth .icon-badge.gold{ background:radial-gradient(circle at 30% 25%, rgba(242,183,5,0.6), rgba(216,17,89,0.2) 75%); }
body.theme-youth .icon-badge.red{ background:radial-gradient(circle at 30% 25%, rgba(255,46,117,0.65), rgba(216,17,89,0.3) 75%); }
body.theme-youth .split-art,
body.theme-youth .welcome-art{
  background:
    radial-gradient(circle at 30% 20%, rgba(76,29,149,0.55), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(216,17,89,0.45), transparent 50%),
    var(--black-3);
}
body.theme-youth .split-art.warm{
  background:
    radial-gradient(circle at 30% 20%, rgba(216,17,89,0.5), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(242,183,5,0.35) , transparent 50%),
    var(--black-3);
}

/* ---------- Young Adults: sophisticated, moody ---------- */
body.theme-young-adults{
  --red: #6d28d9;
  --red-bright: #8b5cf6;
  --blue: #1e1b4b;
  --blue-bright: #4338ca;
  --gold: #b9974a;
}
body.theme-young-adults .hero-glow{
  background:
    radial-gradient(circle at 50% 100%, rgba(139,92,246,0.34) 0%, rgba(109,40,217,0.2) 22%, rgba(30,27,75,0.32) 46%, rgba(30,27,75,0.0) 68%);
}
body.theme-young-adults .hero-cursor-glow{
  background:radial-gradient(circle, rgba(139,92,246,0.13) 0%, rgba(30,27,75,0.1) 45%, transparent 72%);
}
body.theme-young-adults .icon-badge{ background:radial-gradient(circle at 30% 25%, rgba(109,40,217,0.5), rgba(30,27,75,0.35) 75%); }
body.theme-young-adults .icon-badge.blue{ background:radial-gradient(circle at 30% 25%, rgba(30,27,75,0.7), rgba(67,56,202,0.3) 75%); }
body.theme-young-adults .icon-badge.gold{ background:radial-gradient(circle at 30% 25%, rgba(185,151,74,0.55), rgba(109,40,217,0.2) 75%); }
body.theme-young-adults .icon-badge.red{ background:radial-gradient(circle at 30% 25%, rgba(139,92,246,0.6), rgba(109,40,217,0.3) 75%); }
body.theme-young-adults .split-art,
body.theme-young-adults .welcome-art{
  background:
    radial-gradient(circle at 30% 20%, rgba(30,27,75,0.6), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(109,40,217,0.4), transparent 50%),
    var(--black-3);
}

/* ---------- Worship Team: majestic, warm gold ---------- */
body.theme-worship{
  --red: #a8781f;
  --red-bright: #d9a53f;
  --blue: #262038;
  --blue-bright: #4d3f70;
  --gold: #f0c869;
}
body.theme-worship .hero-glow{
  background:
    radial-gradient(circle at 50% 100%, rgba(217,165,63,0.4) 0%, rgba(168,120,31,0.22) 22%, rgba(38,32,56,0.32) 46%, rgba(38,32,56,0.0) 68%);
}
body.theme-worship .hero-cursor-glow{
  background:radial-gradient(circle, rgba(217,165,63,0.16) 0%, rgba(38,32,56,0.1) 45%, transparent 72%);
}
body.theme-worship .icon-badge{ background:radial-gradient(circle at 30% 25%, rgba(168,120,31,0.55), rgba(38,32,56,0.3) 75%); }
body.theme-worship .icon-badge.blue{ background:radial-gradient(circle at 30% 25%, rgba(38,32,56,0.7), rgba(77,63,112,0.3) 75%); }
body.theme-worship .icon-badge.gold{ background:radial-gradient(circle at 30% 25%, rgba(240,200,105,0.65), rgba(168,120,31,0.25) 75%); }
body.theme-worship .icon-badge.red{ background:radial-gradient(circle at 30% 25%, rgba(217,165,63,0.65), rgba(168,120,31,0.3) 75%); }
body.theme-worship .split-art,
body.theme-worship .welcome-art{
  background:
    radial-gradient(circle at 30% 20%, rgba(38,32,56,0.55), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(217,165,63,0.4), transparent 50%),
    var(--black-3);
}

/* ---------- Outreach & Care: warm, grounded, compassionate ---------- */
body.theme-outreach{
  --red: #b5502a;
  --red-bright: #d97a4c;
  --blue: #3f6b52;
  --blue-bright: #5f9c78;
  --gold: #d9a441;
}
body.theme-outreach .hero-glow{
  background:
    radial-gradient(circle at 50% 100%, rgba(217,122,76,0.4) 0%, rgba(181,80,42,0.22) 22%, rgba(63,107,82,0.28) 46%, rgba(63,107,82,0.0) 68%);
}
body.theme-outreach .hero-cursor-glow{
  background:radial-gradient(circle, rgba(217,122,76,0.15) 0%, rgba(63,107,82,0.1) 45%, transparent 72%);
}
body.theme-outreach .icon-badge{ background:radial-gradient(circle at 30% 25%, rgba(181,80,42,0.5), rgba(63,107,82,0.3) 75%); }
body.theme-outreach .icon-badge.blue{ background:radial-gradient(circle at 30% 25%, rgba(63,107,82,0.65), rgba(95,156,120,0.25) 75%); }
body.theme-outreach .icon-badge.gold{ background:radial-gradient(circle at 30% 25%, rgba(217,164,65,0.6), rgba(181,80,42,0.2) 75%); }
body.theme-outreach .icon-badge.red{ background:radial-gradient(circle at 30% 25%, rgba(217,122,76,0.65), rgba(181,80,42,0.3) 75%); }
body.theme-outreach .split-art,
body.theme-outreach .welcome-art{
  background:
    radial-gradient(circle at 30% 20%, rgba(63,107,82,0.5), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(217,122,76,0.4), transparent 50%),
    var(--black-3);
}

/* ---------- Inner hero photo background (page-specific) ---------- */
.inner-hero.has-photo-bg{ align-items:flex-end; }
.inner-hero-bg{
  position:absolute;
  inset:0;
  z-index:0;
  background-size:cover;
  background-position:center 28%;
}
.inner-hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.35) 0%, rgba(6,6,6,0.82) 68%, rgba(6,6,6,0.96) 100%),
    linear-gradient(100deg, rgba(6,6,6,0.9) 0%, rgba(6,6,6,0.45) 45%, rgba(6,6,6,0.15) 75%);
}
.inner-hero.has-photo-bg .hero-glow,
.hero.has-photo-bg .hero-glow{ opacity:0.6; mix-blend-mode:screen; }

/* ---------- Inner hero background video ---------- */
.inner-hero-bg-video video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}

/* ---------- Hero sound toggle (mute/unmute background video) ---------- */
.hero-sound-toggle{
  position:absolute;
  right:32px; bottom:32px;
  z-index:3;
  width:46px; height:46px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:rgba(6,6,6,0.55);
  border:1px solid rgba(214,214,214,0.35);
  backdrop-filter:blur(8px);
  transition:border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hero-sound-toggle:hover{ border-color:var(--white); background:rgba(6,6,6,0.75); transform:translateY(-2px); }
.hero-sound-toggle svg{ width:20px; height:20px; }
.hero-sound-toggle .wave{ opacity:0; transition:opacity 0.2s ease; }
.hero-sound-toggle .muted-x{ opacity:1; transition:opacity 0.2s ease; }
.hero-sound-toggle.is-unmuted .wave{ opacity:1; }
.hero-sound-toggle.is-unmuted .muted-x{ opacity:0; }

@media (max-width:760px){
  .hero-sound-toggle{ right:20px; bottom:20px; width:42px; height:42px; }
}

/* ---------- Homepage hero: service time & location card ---------- */
.hero-info-card{
  position:absolute;
  right:48px; top:130px;
  z-index:3;
  width:270px;
  background:rgba(14,14,16,0.5);
  border:1px solid rgba(214,214,214,0.18);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:14px;
  padding:22px 24px;
  display:flex; flex-direction:column; gap:18px;
  box-shadow:0 24px 48px rgba(0,0,0,0.35);
}
.hero-info-row{ display:flex; gap:12px; align-items:flex-start; }
.hero-info-row svg{ width:18px; height:18px; flex-shrink:0; margin-top:2px; color:var(--red-bright); }
.hero-info-label{
  display:block;
  font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--gray-dim); margin-bottom:5px; font-weight:600;
}
.hero-info-value{ display:block; font-size:13.5px; color:var(--white); line-height:1.5; }

@media (max-width:1180px){
  .hero-info-card{ right:32px; top:120px; width:240px; }
}
@media (max-width:900px){
  .hero-info-card{ display:none; }
}

/* ---------- Ministry hero facts card (glass, mirrors homepage hero-info-card) ---------- */
.hero-facts-card{
  position:absolute;
  right:48px; top:130px;
  z-index:3;
  max-width:250px;
  background:rgba(14,14,16,0.5);
  border:1px solid rgba(214,214,214,0.18);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:14px;
  padding:22px 24px;
  display:flex; flex-direction:column; gap:13px;
  box-shadow:0 24px 48px rgba(0,0,0,0.35);
}
.hero-facts-card .fact-item{
  display:flex; align-items:baseline; gap:9px;
  font-size:13px; color:var(--gray);
  line-height:1.45;
}
.hero-facts-card .fact-item strong{
  font-family:'Fraunces', serif;
  font-weight:500;
  color:var(--white);
  letter-spacing:0;
}
.hero-facts-card .dot{ color:var(--red-bright); flex-shrink:0; font-size:10px; }

@media (max-width:1180px){
  .hero-facts-card{ right:32px; top:120px; max-width:220px; padding:18px 20px; gap:11px; }
  .hero-facts-card .fact-item{ font-size:12.5px; }
}
@media (max-width:900px){
  .hero-facts-card{ display:none; }
}
