/* =====================================================================
   FREE WORSHIPPERS — Design System
   Palette: gold / warm ink / cream · Serif display + geometric sans
   ===================================================================== */

:root{
  /* Brand */
  --gold:        #c8a24c;
  --gold-dark:   #a67f2c;
  --gold-soft:   #e4c77e;
  --gold-tint:   #f6edd8;

  /* Neutrals */
  --ink:         #17110c;   /* near-black brown            */
  --ink-2:       #221a13;   /* dark sections               */
  --charcoal:    #2b2118;
  --paper:       #ffffff;
  --cream:       #fbf6ec;
  --sand:        #f4ecdd;

  /* Text */
  --text:        #6d6455;
  --text-strong: #2a2118;
  --muted:       #9c9284;
  --on-dark:     #efe7d8;
  --on-dark-mut: #b3a794;

  /* Lines & shadow */
  --line:        rgba(23,17,12,.10);
  --line-dark:   rgba(255,255,255,.12);
  --shadow-sm:   0 6px 20px rgba(23,17,12,.06);
  --shadow-md:   0 18px 44px rgba(23,17,12,.10);
  --shadow-lg:   0 30px 70px rgba(23,17,12,.16);

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Metrics */
  --container: 1200px;
  --radius:    14px;
  --radius-sm: 8px;
  --section:   clamp(64px, 9vw, 118px);
  --ease:      cubic-bezier(.22,.61,.36,1);
  --header-h:  84px;
}

/* ----------------------------------------------------------------- Reset */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--sans);
  font-weight:400;
  font-size:16px;
  line-height:1.75;
  color:var(--text);
  background:var(--paper);
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:0; background:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--serif); color:var(--text-strong);
  font-weight:600; line-height:1.12; letter-spacing:-.01em; }
p{ margin:0 0 1em; }
:focus-visible{ outline:2px solid var(--gold-dark); outline-offset:3px; border-radius:4px; }

/* ------------------------------------------------------------- Utilities */
.container{ width:100%; max-width:var(--container); margin-inline:auto; padding-inline:24px; }
.narrow{ max-width:760px; }
.section{ padding-block:var(--section); }
.center{ text-align:center; }
.mx-auto{ margin-inline:auto; }
.mobile-only{ display:none; }
.nav a.mobile-only{ display:none; }   /* hidden on desktop even with .btn */
.skip{ position:absolute; left:-9999px; top:0; z-index:300; background:var(--gold); color:#1c1508;
  padding:10px 18px; font-weight:600; border-radius:0 0 6px 0; }
.skip:focus{ left:0; top:0; }
.bg-cream{ background:var(--cream); }
.bg-sand{ background:var(--sand); }
.bg-ink{ background:var(--ink); color:var(--on-dark); }
.gold{ color:var(--gold-dark); }
.nowrap{ white-space:nowrap; }

.h1{ font-size:clamp(2.6rem,6vw,4.4rem); }
.h2{ font-size:clamp(2rem,4.2vw,3.1rem); }
.h3{ font-size:clamp(1.35rem,2.4vw,1.75rem); }
.lead{ font-size:1.12rem; line-height:1.85; }

/* Eyebrow / kicker */
.eyebrow{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--sans); font-weight:600; font-size:.74rem;
  letter-spacing:.28em; text-transform:uppercase; color:var(--gold-dark);
  margin-bottom:1.1rem;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--gold); display:inline-block; }
.eyebrow.center{ justify-content:center; }
.eyebrow.on-dark{ color:var(--gold-soft); }

.section-head{ max-width:660px; }
.section-head.center{ margin-inline:auto; }
.section-head p{ color:var(--text); margin-top:.9rem; }

.divider{ width:64px; height:3px; background:var(--gold); border-radius:2px; margin:1.4rem 0; }
.divider.center{ margin-inline:auto; }

/* ---------------------------------------------------------------- Buttons */
.btn{
  --bg:var(--gold); --fg:#1c1508; --bd:var(--gold);
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  font-family:var(--sans); font-weight:600; font-size:.8rem;
  letter-spacing:.16em; text-transform:uppercase;
  padding:15px 30px; border-radius:2px;
  background:var(--bg); color:var(--fg); border:1.5px solid var(--bd);
  transition:transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
  position:relative; white-space:nowrap;
}
.btn:hover{ transform:translateY(-3px); }
.btn .ico{ transition:transform .3s var(--ease); }
.btn:hover .ico{ transform:translateX(4px); }
.btn--outline{ --bg:transparent; --fg:var(--text-strong); --bd:rgba(23,17,12,.28); }
.btn--outline:hover{ --bg:var(--gold); --fg:#1c1508; --bd:var(--gold); }
.btn--light{ --bg:#fff; --fg:#1c1508; --bd:#fff; }
.btn--ghost-light{ --bg:transparent; --fg:#fff; --bd:rgba(255,255,255,.55); }
.btn--ghost-light:hover{ --bg:#fff; --fg:#1c1508; --bd:#fff; }
.btn--lg{ padding:18px 38px; font-size:.82rem; }
.btn--sm{ padding:11px 22px; font-size:.72rem; }

.textlink{
  display:inline-flex; align-items:center; gap:.5rem; font-weight:600;
  font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-dark);
}
.textlink .ico{ display:grid; place-items:center; width:30px; height:30px; border-radius:50%;
  border:1.5px solid var(--gold); transition:.3s var(--ease); }
.textlink:hover .ico{ background:var(--gold); transform:translateX(3px); }

/* ============================================================== HEADER */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100; height:var(--header-h);
  display:flex; align-items:center;
  transition:background .35s, box-shadow .35s, height .35s;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; }
.brand{ display:flex; align-items:center; gap:.7rem; font-family:var(--serif);
  font-weight:700; font-size:1.25rem; color:#fff; letter-spacing:.02em; line-height:1; }
.brand .mark{ width:38px; height:38px; flex:none; }
.brand small{ display:block; font-family:var(--sans); font-weight:500; font-size:.58rem;
  letter-spacing:.32em; text-transform:uppercase; color:var(--gold-soft); margin-top:4px; }

.nav{ display:flex; align-items:center; gap:2rem; }
.nav a{ position:relative; font-weight:500; font-size:.86rem; letter-spacing:.03em;
  color:rgba(255,255,255,.86); padding:6px 0; transition:color .25s; }
.nav a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:2px;
  background:var(--gold); transition:width .3s var(--ease); }
.nav a:hover, .nav a.active{ color:#fff; }
.nav a.active::after, .nav a:hover::after{ width:100%; }

.header-cta{ display:flex; align-items:center; gap:1rem; }
.nav-toggle{ display:none; width:44px; height:44px; flex-direction:column; gap:5px;
  justify-content:center; align-items:center; }
.nav-toggle span{ width:24px; height:2px; background:#fff; transition:.3s var(--ease); }
.nav-close{ display:none; border:0; background:none; padding:0; cursor:pointer; }

/* Scrolled / solid state */
.site-header.solid{ background:rgba(255,255,255,.96); box-shadow:0 6px 24px rgba(23,17,12,.08);
  height:72px; backdrop-filter:saturate(140%) blur(6px); }
.site-header.solid .brand{ color:var(--text-strong); }
.site-header.solid .brand small{ color:var(--gold-dark); }
.site-header.solid .nav a{ color:var(--text-strong); }
.site-header.solid .nav a:hover, .site-header.solid .nav a.active{ color:var(--gold-dark); }
.site-header.solid .nav-toggle span{ background:var(--text-strong); }
/* Inner pages: always solid header, add offset */
body.has-solid-header{ padding-top:0; }

/* ================================================================ HERO */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center;
  color:#fff; overflow:hidden; }
.hero__bg,.page-hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__bg.has-media::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,10,6,.55) 0%, rgba(15,10,6,.35) 40%, rgba(15,10,6,.78) 100%); }
.hero__inner{ position:relative; z-index:2; padding-top:var(--header-h); }
.hero__verse{ font-family:var(--sans); font-weight:500; letter-spacing:.24em;
  text-transform:uppercase; font-size:.8rem; color:var(--gold-soft); margin-bottom:1.2rem; }
.hero h1{ color:#fff; font-size:clamp(3rem,8vw,6rem); font-weight:600; line-height:1.02; }
.hero__sub{ font-size:1.15rem; color:rgba(255,255,255,.9); max-width:560px; margin:1.4rem 0 2.2rem;
  font-style:italic; font-family:var(--serif); }
.hero__actions{ display:flex; flex-wrap:wrap; gap:1rem; }
.hero__scroll{ position:absolute; left:50%; bottom:28px; transform:translateX(-50%); z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:.5rem; color:rgba(255,255,255,.8);
  font-size:.66rem; letter-spacing:.28em; text-transform:uppercase; }
.hero__scroll .mouse{ width:22px; height:36px; border:2px solid rgba(255,255,255,.6); border-radius:12px;
  position:relative; }
.hero__scroll .mouse::after{ content:""; position:absolute; left:50%; top:7px; width:3px; height:7px;
  background:#fff; border-radius:2px; transform:translateX(-50%); animation:wheel 1.6s infinite; }
@keyframes wheel{ 0%{opacity:1;top:7px} 100%{opacity:0;top:16px} }

/* Page hero (inner pages) */
.page-hero{ position:relative; min-height:60vh; display:flex; align-items:flex-end;
  color:#fff; overflow:hidden; padding-bottom:60px; }
.page-hero__bg.has-media::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,10,6,.55), rgba(15,10,6,.82)); }
.page-hero__inner{ position:relative; z-index:2; padding-top:var(--header-h); }
.page-hero h1{ color:#fff; font-size:clamp(2.4rem,5.5vw,4rem); }
.breadcrumb{ display:flex; gap:.6rem; align-items:center; font-size:.78rem; letter-spacing:.08em;
  text-transform:uppercase; color:var(--on-dark-mut); margin-top:1rem; }
.breadcrumb a:hover{ color:var(--gold-soft); }
.breadcrumb .sep{ color:var(--gold); }
.breadcrumb .cur{ color:#fff; }

/* ============================================================ ABOUT split */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,5rem); align-items:center; }
.split.reverse .split__media{ order:2; }

.stack-media{ position:relative; min-height:440px; }
.stack-media img{ border-radius:var(--radius); box-shadow:var(--shadow-md); object-fit:cover; }
.stack-media .m1{ width:74%; height:360px; }
.stack-media .m2{ position:absolute; right:0; bottom:-30px; width:56%; height:300px;
  border:8px solid #fff; }
.stack-media .badge{ position:absolute; left:-10px; bottom:40px; background:var(--gold);
  color:#1c1508; padding:18px 22px; border-radius:10px; box-shadow:var(--shadow-md);
  text-align:center; z-index:3; }
.stack-media .badge b{ font-family:var(--serif); font-size:2rem; display:block; line-height:1; }
.stack-media .badge span{ font-size:.66rem; letter-spacing:.16em; text-transform:uppercase; }

.checklist{ margin:1.6rem 0; display:grid; gap:.7rem; }
.checklist li{ display:flex; gap:.7rem; align-items:flex-start; color:var(--text-strong); font-weight:500; }
.checklist svg{ flex:none; margin-top:5px; color:var(--gold-dark); }

/* ========================================================= Scripture band */
.scripture{ position:relative; color:#fff; text-align:center; overflow:hidden; }
.scripture__bg{ position:absolute; inset:0; z-index:0; }
.scripture__bg.has-media::after{ content:""; position:absolute; inset:0; background:rgba(16,11,7,.8); }
.scripture .container{ position:relative; z-index:2; padding-block:clamp(56px,8vw,96px); }
.scripture q{ display:block; font-family:var(--serif); font-style:italic; quotes:none;
  font-size:clamp(1.4rem,3vw,2.15rem); line-height:1.5; max-width:900px; margin-inline:auto; }
.scripture q::before,.scripture q::after{ content:none; }
.scripture cite{ display:block; margin-top:1.4rem; font-style:normal; font-family:var(--sans);
  letter-spacing:.2em; text-transform:uppercase; font-size:.8rem; color:var(--gold-soft); }
.scripture .quote-ico{ color:var(--gold); font-size:3rem; font-family:var(--serif); line-height:1;
  display:block; margin-bottom:.4rem; }

/* ============================================================== Pillars */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }

.pillar{ background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:42px 34px; text-align:center; transition:.4s var(--ease); position:relative; overflow:hidden; }
.pillar::before{ content:""; position:absolute; left:0; top:0; height:4px; width:100%;
  background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); }
.pillar:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:transparent; }
.pillar:hover::before{ transform:scaleX(1); }
.pillar__icon{ width:74px; height:74px; margin:0 auto 1.3rem; border-radius:50%;
  display:grid; place-items:center; background:var(--gold-tint); color:var(--gold-dark);
  transition:.4s var(--ease); }
.pillar:hover .pillar__icon{ background:var(--gold); color:#fff; transform:rotate(-6deg); }
.pillar h3{ margin-bottom:.7rem; }
.pillar p{ font-size:.96rem; margin-bottom:1.2rem; }
.pillar .more{ color:var(--gold-dark); }

/* =============================================================== Values */
.values-stat{ display:flex; gap:2.6rem; flex-wrap:wrap; margin-top:2rem; }
.dial{ text-align:center; }
.dial svg{ transform:rotate(-90deg); }
.dial__track{ fill:none; stroke:var(--line); stroke-width:9; }
.dial__bar{ fill:none; stroke:var(--gold); stroke-width:9; stroke-linecap:round;
  stroke-dasharray:339.29; stroke-dashoffset:339.29; transition:stroke-dashoffset 1.6s var(--ease); }
.dial__wrap{ position:relative; width:120px; height:120px; margin:0 auto .7rem; }
.dial__num{ position:absolute; inset:0; display:grid; place-items:center;
  font-family:var(--serif); font-size:1.5rem; color:var(--text-strong); font-weight:600; }
.dial p{ margin:0; font-weight:600; color:var(--text-strong); letter-spacing:.04em; }
.dial span{ font-size:.82rem; color:var(--muted); }

/* Counters row */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; text-align:center; }
.stat b{ font-family:var(--serif); font-size:clamp(2.2rem,4vw,3rem); color:var(--gold-dark);
  display:block; line-height:1; }
.stat span{ font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text); margin-top:.5rem; display:block; }
.bg-ink .stat b{ color:var(--gold-soft); }
.bg-ink .stat span{ color:var(--on-dark-mut); }

/* ============================================================== Anthem */
.anthem{ display:grid; grid-template-columns:1.1fr 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.player{ background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-md); padding:26px; display:flex; gap:20px; align-items:center; }
.player__art{ width:118px; height:118px; border-radius:10px; object-fit:cover; flex:none; box-shadow:var(--shadow-sm); }
.player__body{ flex:1; min-width:0; }
.player__meta{ display:flex; align-items:center; justify-content:space-between; margin-bottom:.4rem; }
.player__title{ font-family:var(--serif); font-size:1.25rem; color:var(--text-strong); font-weight:600; }
.player__artist{ font-size:.82rem; color:var(--muted); letter-spacing:.04em; }
.player__controls{ display:flex; align-items:center; gap:14px; margin-top:.9rem; }
.player__play{ width:48px; height:48px; border-radius:50%; background:var(--gold); color:#1c1508;
  display:grid; place-items:center; flex:none; transition:.3s var(--ease); }
.player__play:hover{ background:var(--gold-dark); color:#fff; transform:scale(1.05); }
.player__bar{ flex:1; height:6px; border-radius:4px; background:var(--sand); position:relative; cursor:pointer; }
.player__fill{ position:absolute; left:0; top:0; height:100%; width:32%; background:var(--gold); border-radius:4px; }
.player__fill::after{ content:""; position:absolute; right:-6px; top:50%; transform:translateY(-50%);
  width:13px; height:13px; border-radius:50%; background:#fff; border:2px solid var(--gold); box-shadow:var(--shadow-sm); }
.player__time{ font-size:.74rem; color:var(--muted); font-variant-numeric:tabular-nums; }

/* Waveform decoration */
.wave{ display:flex; align-items:center; gap:3px; height:34px; }
.wave i{ width:3px; background:var(--gold); border-radius:3px; opacity:.5; animation:wave 1.1s ease-in-out infinite; }
.playing .wave i{ opacity:1; }
@keyframes wave{ 0%,100%{ height:8px } 50%{ height:30px } }

/* ============================================================ Instagram */
.ig-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.ig-item{ position:relative; aspect-ratio:1; overflow:hidden; border-radius:8px; }
.ig-item img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.ig-item::after{ content:""; position:absolute; inset:0; background:rgba(166,127,44,.72);
  opacity:0; transition:.35s; display:grid; }
.ig-item .ig-ico{ position:absolute; inset:0; margin:auto; width:34px; height:34px; color:#fff;
  opacity:0; transform:scale(.5); transition:.35s var(--ease); z-index:2; }
.ig-item:hover img{ transform:scale(1.08); }
.ig-item:hover::after{ opacity:1; }
.ig-item:hover .ig-ico{ opacity:1; transform:scale(1); }

/* ================================================================ Cards */
.card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  transition:.4s var(--ease); display:flex; flex-direction:column; }
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.card__media{ position:relative; aspect-ratio:16/11; overflow:hidden; }
.card__media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.card:hover .card__media img{ transform:scale(1.06); }
.card__body{ padding:26px; flex:1; display:flex; flex-direction:column; }
.card__body h3{ margin-bottom:.5rem; font-size:1.3rem; }
.card__meta{ display:flex; flex-wrap:wrap; gap:1rem; font-size:.8rem; color:var(--muted);
  letter-spacing:.03em; margin-bottom:.9rem; }
.card__meta span{ display:inline-flex; align-items:center; gap:.4rem; }
.tag{ position:absolute; top:14px; left:14px; background:var(--gold); color:#1c1508;
  font-size:.68rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  padding:6px 12px; border-radius:2px; }
.date-chip{ position:absolute; top:14px; right:14px; background:rgba(23,17,12,.82); color:#fff;
  text-align:center; padding:10px 12px; border-radius:8px; line-height:1; backdrop-filter:blur(4px); }
.date-chip b{ font-family:var(--serif); font-size:1.5rem; display:block; }
.date-chip span{ font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; }

/* Event list row */
.event-row{ display:grid; grid-template-columns:auto 1fr auto; gap:1.8rem; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px 28px;
  transition:.35s var(--ease); }
.event-row:hover{ box-shadow:var(--shadow-md); transform:translateX(4px); border-color:transparent; }
.event-row .ev-date{ text-align:center; padding-right:1.8rem; border-right:1px solid var(--line); }
.event-row .ev-date b{ font-family:var(--serif); font-size:2.4rem; color:var(--gold-dark); display:block; line-height:1; }
.event-row .ev-date span{ font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.event-row h3{ font-size:1.3rem; margin-bottom:.4rem; }
.event-row .ev-meta{ display:flex; flex-wrap:wrap; gap:1.2rem; font-size:.84rem; color:var(--muted); }
.event-row .ev-meta span{ display:inline-flex; gap:.4rem; align-items:center; }

/* ============================================================ Team cards */
.team-card{ text-align:center; }
.team-card__media{ position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:3/3.4; }
.team-card__media img{ width:100%; height:100%; object-fit:cover; transition:.5s var(--ease); filter:grayscale(.15); }
.team-card:hover .team-card__media img{ transform:scale(1.05); filter:none; }
.team-card__social{ position:absolute; left:0; right:0; bottom:-60px; display:flex; justify-content:center;
  gap:.6rem; padding:16px; background:linear-gradient(transparent, rgba(23,17,12,.82)); transition:.4s var(--ease); }
.team-card:hover .team-card__social{ bottom:0; }
.team-card__social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.16);
  display:grid; place-items:center; color:#fff; transition:.25s; }
.team-card__social a:hover{ background:var(--gold); color:#1c1508; }
.team-card h3{ margin:1.1rem 0 .2rem; font-size:1.2rem; }
.team-card .role{ color:var(--gold-dark); font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; font-weight:600; }

/* ================================================================ Steps */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; counter-reset:step; }
.step{ position:relative; padding-top:1rem; }
.step__num{ font-family:var(--serif); font-size:3.2rem; color:var(--gold-soft); line-height:1;
  font-weight:700; margin-bottom:.6rem; }
.step h3{ font-size:1.15rem; margin-bottom:.5rem; }
.step p{ font-size:.92rem; }
.step:not(:last-child)::after{ content:""; position:absolute; top:2.4rem; right:-13px; width:26px; height:2px;
  background:var(--line); }

/* ============================================================= Feature list */
.feature{ display:flex; gap:1.1rem; }
.feature__icon{ width:54px; height:54px; flex:none; border-radius:12px; background:var(--gold-tint);
  color:var(--gold-dark); display:grid; place-items:center; transition:.35s var(--ease); }
.feature:hover .feature__icon{ background:var(--gold); color:#fff; }
.feature h3{ font-size:1.12rem; margin-bottom:.35rem; }
.feature p{ font-size:.92rem; margin:0; }

/* ============================================================ Video card */
.card__media.video::before{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(rgba(16,11,7,.05), rgba(16,11,7,.4)); }
.play-badge{ position:absolute; inset:0; margin:auto; width:62px; height:62px; border-radius:50%;
  background:rgba(255,255,255,.92); color:#1c1508; display:grid; place-items:center; z-index:2;
  transition:.35s var(--ease); }
.play-badge svg{ margin-left:3px; }
.card:hover .play-badge{ background:var(--gold); transform:scale(1.08); }
.play-badge::after{ content:""; position:absolute; inset:-9px; border-radius:50%;
  border:1px solid rgba(255,255,255,.55); }
.duration{ position:absolute; bottom:12px; right:12px; z-index:2; background:rgba(23,17,12,.82);
  color:#fff; font-size:.72rem; letter-spacing:.04em; padding:4px 9px; border-radius:4px; }

/* --------------------------------------------------------------- Tracklist */
.tracklist{ background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); }
.track{ display:grid; grid-template-columns:auto 1fr auto; gap:1.1rem; align-items:center;
  padding:16px 24px; border-bottom:1px solid var(--line); transition:.25s; }
.track:last-child{ border-bottom:0; }
.track:hover{ background:var(--cream); }
.track .tnum{ width:40px; height:40px; flex:none; border-radius:50%; background:var(--gold-tint);
  color:var(--gold-dark); display:grid; place-items:center; font-weight:600; transition:.25s; }
.track:hover .tnum{ background:var(--gold); color:#fff; }
.track .tnum svg{ display:none; } .track:hover .tnum svg{ display:block; } .track:hover .tnum b{ display:none; }
.track h4{ font-family:var(--serif); font-size:1.08rem; margin:0; color:var(--text-strong); font-weight:600; }
.track .tmeta{ font-size:.8rem; color:var(--muted); }
.track .tdur{ font-variant-numeric:tabular-nums; color:var(--muted); font-size:.86rem; }

/* ================================================================ Gallery */
.filters{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-bottom:2.6rem; }
.filters button{ font-family:var(--sans); font-weight:500; font-size:.82rem; letter-spacing:.08em;
  padding:9px 20px; border-radius:2px; color:var(--text); border:1px solid var(--line); transition:.25s; }
.filters button:hover{ color:var(--gold-dark); border-color:var(--gold); }
.filters button.active{ background:var(--ink); color:#fff; border-color:var(--ink); }

.masonry{ columns:3; column-gap:16px; }
.masonry .shot{ break-inside:avoid; margin-bottom:16px; position:relative; overflow:hidden;
  border-radius:10px; cursor:pointer; }
.masonry .shot img{ width:100%; height:auto; transition:transform .6s var(--ease); }
.masonry .shot::after{ content:"＋"; position:absolute; inset:0; display:grid; place-items:center;
  color:#fff; font-size:1.8rem; background:rgba(166,127,44,.66); opacity:0; transition:.35s; }
.masonry .shot:hover img{ transform:scale(1.07); }
.masonry .shot:hover::after{ opacity:1; }
.shot.hide{ display:none; }
.masonry .no-lightbox.shot, .masonry.no-lightbox .shot{ cursor:default; }
/* Grid layout (uniform tiles) — columns + tile ratio come from CSS variables the
   widget sets from its Columns / Tile Aspect Ratio / Fit controls. */
.masonry.is-grid{ columns:auto; display:grid; grid-template-columns:repeat(var(--wgal-cols,3),minmax(0,1fr)); gap:16px; }
.masonry.is-grid .shot{ margin:0; aspect-ratio:var(--wgal-ratio,1/1); }
.masonry.is-grid .shot img{ width:100%; height:100%; object-fit:var(--wgal-fit,cover); }
/* Optional caption revealed on hover (Gallery “Show Title on Hover”) */
.shot__cap{ position:absolute; left:0; right:0; bottom:0; z-index:2; margin:0; padding:14px 16px;
  color:#fff; font-family:var(--sans); font-weight:600; font-size:.9rem; letter-spacing:.01em;
  background:linear-gradient(transparent, rgba(16,11,7,.82)); transform:translateY(8px); opacity:0;
  transition:.35s var(--ease); pointer-events:none; }
.masonry .shot:hover .shot__cap{ transform:translateY(0); opacity:1; }
.masonry .shot:has(.shot__cap)::after{ content:none; }

/* Lightbox */
.lightbox{ position:fixed; inset:0; z-index:200; background:rgba(12,8,4,.92); display:none;
  align-items:center; justify-content:center; padding:5vw; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width:90vw; max-height:86vh; border-radius:8px; box-shadow:var(--shadow-lg); }
.lightbox__close, .lightbox__nav{ position:absolute; color:#fff; width:52px; height:52px; border-radius:50%;
  background:rgba(255,255,255,.12); display:grid; place-items:center; font-size:1.4rem; transition:.25s; }
.lightbox__close{ top:24px; right:24px; }
.lightbox__nav{ top:50%; transform:translateY(-50%); }
.lightbox__nav.prev{ left:24px; } .lightbox__nav.next{ right:24px; }
.lightbox__close:hover, .lightbox__nav:hover{ background:var(--gold); color:#1c1508; }
/* Tiles are exposed as buttons by the lightbox script — give keyboard users a
   visible focus ring, and kill the 300ms tap delay so a tap opens instantly. */
.masonry .shot{ touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.masonry .shot:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }
/* The "＋" hover overlay is decoration: never let it absorb a tap. */
.masonry .shot::after{ pointer-events:none; }

@media (max-width:820px){
  /* Phone lightbox: the photo is capped shorter so the controls sit clear of
     it rather than on top of it, they stay below the WP admin bar, and they
     respect the notch / home indicator. */
  .lightbox{ padding:4vw; }
  .lightbox img{ max-width:94vw; max-height:68vh; }
  .lightbox__close{ top:calc(12px + env(safe-area-inset-top)); right:12px; }
  .admin-bar .lightbox__close{ top:calc(58px + env(safe-area-inset-top)); }
  /* Arrows become a centred pair under the photo — swiping also works. */
  .lightbox__nav{ top:auto; transform:none; width:58px; height:58px; font-size:1.8rem;
    bottom:calc(20px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.18); }
  .lightbox__nav.prev{ left:calc(50% - 76px); right:auto; }
  .lightbox__nav.next{ right:calc(50% - 76px); left:auto; }
}

/* =========================================================== Video modal */
/* Plays a session/event video over the page rather than sending the visitor to
   a bare .mp4 URL. Fills the viewport; the player keeps its own aspect ratio
   and every native control stays reachable. */
.video-modal{ position:fixed; inset:0; z-index:210; background:rgba(8,5,3,.94); display:none;
  align-items:center; justify-content:center; padding:clamp(12px,3vw,40px); }
.video-modal.open{ display:flex; }
.video-modal__stage{ width:100%; height:100%; display:flex; align-items:center; justify-content:center; }
.video-modal__stage video{ width:100%; height:100%; max-width:100%; max-height:100%;
  object-fit:contain; background:#000; border-radius:6px; }
.video-modal__stage iframe{ width:100%; height:100%; max-width:100%; border:0; border-radius:6px;
  background:#000; aspect-ratio:16/9; }
.video-modal__close{ position:absolute; top:clamp(10px,2vw,22px); right:clamp(10px,2vw,22px); z-index:2;
  width:52px; height:52px; border-radius:50%; border:0; background:rgba(255,255,255,.14); color:#fff;
  display:grid; place-items:center; cursor:pointer; transition:.25s; }
.video-modal__close svg{ width:26px; height:26px; }
.video-modal__close:hover, .video-modal__close:focus-visible{ background:var(--gold); color:#1c1508; }
.admin-bar .video-modal__close{ top:calc(32px + clamp(10px,2vw,22px)); }
@media (max-width:820px){
  .video-modal{ padding:0; }
  .video-modal__stage video, .video-modal__stage iframe{ border-radius:0; }
  /* Clear of the notch, and clear of the player's own control bar. */
  .video-modal__close{ top:calc(10px + env(safe-area-inset-top)); right:10px; width:46px; height:46px; }
  .admin-bar .video-modal__close{ top:calc(56px + env(safe-area-inset-top)); }
}

/* First-frame preview standing in for a missing poster image. */
.card__media .card__frame{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  pointer-events:none; background:#100b07; }

/* Events: "nothing to show" panel. Deliberately larger than body copy and
   vertically centred in its own box, so an empty listing still reads as a
   finished section rather than a gap. Min-height comes from the widget's
   responsive control (120px desktop / 90px phone by default). */
.worship-events-empty{ display:grid; place-items:center; min-height:120px; margin:0;
  padding:1.4rem 1rem; text-align:center; font-family:var(--serif); font-style:italic;
  font-size:clamp(1.15rem,2.4vw,1.6rem); line-height:1.5; color:var(--muted); }
.section-head + .worship-events-empty{ margin-top:.5rem; }
.bg-ink .worship-events-empty{ color:var(--on-dark-mut); }

/* =============================================================== Minutes */
.worship-minutes{ position:relative; }
.worship-minutes__search{ display:flex; margin-bottom:2rem; }
.worship-minutes__search .worship-search{ margin-inline:0; width:100%; }
.worship-minutes__status{ text-align:center; color:var(--muted); font-size:.9rem; min-height:1.4em;
  margin-bottom:1.2rem; }
/* Grid column count comes from the widget's responsive Columns control. */
.worship-minutes__list.is-grid{ display:grid; gap:26px;
  grid-template-columns:repeat(var(--wmin-cols,3),minmax(0,1fr)); }
.worship-minutes__list.is-list{ display:flex; flex-direction:column; gap:1rem; }
.minute-card{ display:flex; flex-direction:column; }
.minute-card .card__meta{ margin-bottom:.6rem; }
.minute-card__cat{ font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-dark); font-weight:600; margin-bottom:.5rem; }
.minute-card__actions, .minute-row__actions{ display:flex; flex-wrap:wrap; gap:.8rem 1.2rem;
  align-items:center; margin-top:auto; padding-top:1.2rem; }
.minute__doc{ display:inline-flex; align-items:center; gap:.4rem; font-family:var(--sans);
  font-weight:600; font-size:.84rem; color:var(--gold-dark); transition:.25s; }
.minute__doc:hover{ color:var(--ink); }
/* List rows reuse the event-row rhythm so both listings read as one family. */
.minute-row{ display:grid; grid-template-columns:auto 1fr auto; gap:1.8rem; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem 1.8rem;
  transition:.3s var(--ease); }
.minute-row:hover{ box-shadow:var(--shadow-md); transform:translateX(4px); border-color:transparent; }
.minute-row h3{ font-size:1.25rem; margin-bottom:.4rem; }
.minute-row h3 a{ color:inherit; }
.minute-row h3 a:hover{ color:var(--gold-dark); }
.minute-row p{ margin-top:.5rem; font-size:.95rem; }
.minute-row__actions{ margin:0; padding:0; flex-direction:column; align-items:flex-end; }
.worship-minutes__empty{ text-align:center; color:var(--muted); padding:2.4rem 0; font-size:1.05rem; }
.worship-minutes__more{ margin-top:2.6rem; }
.worship-minutes__pages{ margin-top:2.6rem; }
.worship-minutes-nav{ display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; }
.worship-minutes-nav button{ min-width:44px; height:44px; padding:0 12px; border:1px solid var(--line);
  border-radius:8px; background:#fff; font-family:var(--sans); font-weight:600; font-size:.95rem;
  color:var(--text-strong); cursor:pointer; transition:.25s; }
.worship-minutes-nav button:hover:not(:disabled){ border-color:var(--gold); color:var(--gold-dark); }
.worship-minutes-nav button.current{ background:var(--gold); border-color:var(--gold); color:#1c1508; }
.worship-minutes-nav button:disabled{ opacity:.4; cursor:default; }
.worship-minutes-nav__gap{ display:grid; place-items:center; min-width:24px; color:var(--muted); }
/* Fetching: dim the outgoing list so the swap reads as deliberate. */
.worship-minutes.is-loading .worship-minutes__list{ opacity:.45; pointer-events:none;
  transition:opacity .2s var(--ease); }
.bg-ink .minute-row, .bg-ink .minute-card{ background:rgba(255,255,255,.04); border-color:var(--line-dark); }
.bg-ink .minute-row h3 a, .bg-ink .minute-card h3 a{ color:#fff; }

/* Sensible narrow-screen defaults. An explicit responsive Columns value from
   Elementor carries higher specificity and still wins over these. */
@media (max-width:1024px){
  .worship-minutes__list.is-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:600px){
  .worship-minutes__list.is-grid{ grid-template-columns:1fr; }
}

@media (max-width:820px){
  /* One column of rows on phones; the date chip goes inline above the title. */
  .minute-row{ grid-template-columns:1fr; gap:1rem; }
  .minute-row .ev-date{ display:flex; gap:.6rem; align-items:baseline; border-right:0; padding:0; }
  .minute-row .ev-date b{ font-size:1.6rem; }
  .minute-row__actions{ flex-direction:row; align-items:center; justify-self:start; }
  .worship-minutes__search{ margin-bottom:1.4rem; }
}

/* =================================================================== FAQ */
.faq{ max-width:820px; margin-inline:auto; }
.faq__item{ border-bottom:1px solid var(--line); }
.faq__q{ width:100%; text-align:left; display:flex; align-items:center; justify-content:space-between;
  gap:1rem; padding:22px 0; font-family:var(--serif); font-size:1.15rem; color:var(--text-strong); font-weight:600; }
.faq__q .pm{ flex:none; width:30px; height:30px; border-radius:50%; border:1.5px solid var(--gold);
  display:grid; place-items:center; color:var(--gold-dark); transition:.3s var(--ease); }
.faq__item.open .pm{ background:var(--gold); color:#fff; transform:rotate(45deg); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq__a p{ padding-bottom:22px; margin:0; }

/* ================================================================ Forms */
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-md); padding:clamp(26px,4vw,44px); }
.field{ margin-bottom:1.2rem; }
.field label{ display:block; font-size:.78rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase;
  color:var(--text-strong); margin-bottom:.5rem; }
.field input, .field select, .field textarea{
  width:100%; font-family:var(--sans); font-size:.98rem; color:var(--text-strong);
  padding:14px 16px; border:1px solid var(--line); border-radius:8px; background:var(--cream);
  transition:.25s; }
.field textarea{ min-height:140px; resize:vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); background:#fff; box-shadow:0 0 0 4px rgba(200,162,76,.14); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-note{ font-size:.82rem; color:var(--muted); }
.form-success{ display:none; background:var(--gold-tint); border:1px solid var(--gold);
  color:var(--gold-dark); border-radius:8px; padding:14px 16px; margin-bottom:1.2rem; font-weight:500; }
.form-success.show{ display:block; }

/* Contact info blocks */
.worship-info-panel{ background:var(--ink); color:var(--on-dark); border-radius:var(--radius);
  padding:clamp(28px,4vw,44px); height:100%; box-shadow:var(--shadow-md); }
.info-row{ display:flex; gap:1rem; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--line-dark); }
.info-row:last-child{ border-bottom:0; }
.info-row .ic{ width:50px; height:50px; flex:none; border-radius:50%; background:rgba(200,162,76,.16);
  color:var(--gold-soft); display:grid; place-items:center; }
.info-row h4{ font-family:var(--sans); font-size:.74rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold-soft); margin:0 0 .3rem; }
.info-row p{ margin:0; color:var(--on-dark); }

/* ================================================================ CTA band */
.cta{ position:relative; overflow:hidden; color:#fff; text-align:center; }
.cta__bg{ position:absolute; inset:0; z-index:0; }
.cta__bg.has-media::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(rgba(16,11,7,.82), rgba(16,11,7,.9)); }
.cta .container{ position:relative; z-index:2; padding-block:clamp(60px,8vw,100px); }
.cta h2{ color:#fff; font-size:clamp(2rem,4.5vw,3.2rem); }
.cta p{ color:rgba(255,255,255,.85); max-width:620px; margin:1rem auto 2rem; }

/* ================================================================ Footer */
.site-footer{ background:var(--ink); color:var(--on-dark-mut); padding-top:clamp(56px,7vw,84px); }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.3fr; gap:2.5rem; }
.footer-brand .brand{ color:#fff; margin-bottom:1.2rem; }
/* Footer logo sits flush with the column edge, level with the text beneath it:
   the link shrink-wraps its logo (so it can never be nudged by the grid), and
   if a Logo Width wider than the image's natural ratio is set, the spare space
   lands on the right instead of being split either side of the logo.
   NOTE: this cannot remove transparent padding baked into the image file —
   that only comes out by cropping the PNG itself. */
.footer-brand .brand{ width:fit-content; justify-content:flex-start;
  margin-left:0; padding-left:0; }
.footer-brand .brand img, .footer-brand img.custom-logo{
  margin-left:0; object-fit:contain; object-position:left center; }
.footer-brand p{ font-size:.94rem; line-height:1.8; }
/* Elementor header/footer custom logo: sensible default size + flush-left so the
   image is never shown at full natural size before Elementor generates the
   Logo Height / Logo Width control CSS (which overrides these when set). */
.brand img.wsh-logo{ height:44px; width:auto; display:block; }
.footer-brand .brand img.wsf-logo{ height:40px; width:auto; display:block; }
.site-footer h4{ font-family:var(--sans); color:#fff; font-size:.82rem; letter-spacing:.18em;
  text-transform:uppercase; margin-bottom:1.3rem; font-weight:600; }
.footer-links a{ display:block; padding:.35rem 0; font-size:.94rem; transition:.25s; }
.footer-links a:hover{ color:var(--gold-soft); padding-left:6px; }
.footer-contact li{ display:flex; gap:.7rem; margin-bottom:.9rem; font-size:.94rem; align-items:flex-start; }
.footer-contact svg{ flex:none; margin-top:4px; color:var(--gold); }
.socials{ display:flex; gap:.7rem; margin-top:1.2rem; }
.socials a{ width:40px; height:40px; border-radius:50%; border:1px solid var(--line-dark);
  display:grid; place-items:center; color:var(--on-dark); transition:.3s var(--ease); }
.socials a:hover{ background:var(--gold); color:#1c1508; border-color:var(--gold); transform:translateY(-3px); }
.newsletter{ display:flex; gap:.5rem; margin-top:1rem; }
.newsletter input{ flex:1; min-width:0; padding:12px 14px; border-radius:6px; border:1px solid var(--line-dark);
  background:rgba(255,255,255,.05); color:#fff; font-family:var(--sans); }
.newsletter input::placeholder{ color:var(--on-dark-mut); }
.newsletter button{ padding:0 16px; border-radius:6px; background:var(--gold); color:#1c1508;
  display:grid; place-items:center; transition:.25s; }
.newsletter button:hover{ background:var(--gold-soft); }
.footer-bottom{ margin-top:clamp(40px,6vw,64px); border-top:1px solid var(--line-dark);
  padding:26px 0; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.84rem; }
.footer-bottom a:hover{ color:var(--gold-soft); }

/* ============================================================ Reveal anim */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.1s } .reveal.d2{ transition-delay:.2s }
.reveal.d3{ transition-delay:.3s } .reveal.d4{ transition-delay:.4s }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  *{ animation:none !important; }
  html{ scroll-behavior:auto; }
}

/* ============================================================ Mobile nav */
.nav-backdrop{ position:fixed; inset:0; background:rgba(12,8,4,.5); z-index:98; opacity:0;
  visibility:hidden; transition:.3s; }
.nav-backdrop.show{ opacity:1; visibility:visible; }

/* ============================================================ Responsive */
@media (max-width:1024px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .step:nth-child(2)::after{ display:none; }
  .stats{ grid-template-columns:repeat(2,1fr); gap:2rem; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:2rem; }
  .ig-grid{ grid-template-columns:repeat(4,1fr); }
  .masonry{ columns:2; }
}
@media (max-width:820px){
  :root{ --section:clamp(52px,10vw,72px); }
  .nav, .header-cta .btn{ display:none; }
  .nav-toggle{ display:flex; }
  /* Keep the logo visible and sized within the bar on phones (never squeezed
     out by the CTA, which now moves into the menu). */
  .site-header .brand{ display:flex; flex:0 1 auto; min-width:0; position:relative; z-index:101; }
  .site-header .brand img, .site-header .brand .mark, .site-header .brand .custom-logo{ max-height:46px; width:auto; }
  .site-header .container{ gap:1rem; }
  .header-cta{ gap:.5rem; }
  /* Full-screen menu carries its own large brand-gold "X" close button, pinned
     top-right inside the drawer (the drawer already covers the hamburger). */
  .nav .nav-close{
    display:grid; place-items:center; position:absolute; top:16px; right:16px; z-index:3;
    width:56px; height:56px; border-radius:50%; color:var(--gold); background:transparent;
    transition:transform .3s var(--ease), color .3s var(--ease);
  }
  .nav .nav-close svg{ width:40px; height:40px; }
  .nav .nav-close:hover, .nav .nav-close:focus-visible{ color:var(--gold-dark); transform:rotate(90deg); }
  /* Full-width slide-in menu */
  .nav{
    position:fixed; inset:0; width:100%; height:100dvh; z-index:99;
    background:var(--ink); flex-direction:column; align-items:center; justify-content:center;
    gap:1.5rem; padding:6rem 2rem 2.5rem; transform:translateX(100%); transition:transform .4s var(--ease);
  }
  .nav.open{ display:flex; transform:translateX(0); }
  .nav a{ color:#fff !important; font-size:1.25rem; }
  .nav a::after{ display:none; }
  .nav a.mobile-only{ display:inline-flex; }
  .nav a.mobile-only.btn{ color:#1c1508 !important; margin-top:1rem; font-size:.82rem; padding:15px 40px; }
  /* Compact inner-page hero on phones: size it to the content (no tall dead
     space above the title) so it reads as a tidy banner with the text on the image. */
  .page-hero{ min-height:0; align-items:flex-end; padding-block:calc(var(--header-h) + 30px) 34px; }
  .page-hero__inner{ padding-top:0; }
  .split, .anthem{ grid-template-columns:1fr; }
  .split.reverse .split__media{ order:0; }
  .stack-media{ min-height:auto; margin-bottom:2rem; }
  .stack-media .m1{ width:100%; height:auto; }
  .stack-media .m2{ display:none; }
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .event-row{ grid-template-columns:1fr; text-align:left; gap:1rem; }
  .event-row .ev-date{ display:flex; gap:.6rem; align-items:baseline; border-right:0; padding:0; }
  .event-row .ev-date b{ font-size:1.6rem; }
  .event-row .btn{ justify-self:start; }
  .player{ flex-direction:column; text-align:center; }
  .anthem{ text-align:center; }
  .form-row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
}
@media (max-width:600px){
  /* Phones: one card per row so nothing is cramped or wrapping awkwardly */
  .grid-4{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .step:not(:last-child)::after{ display:none; }   /* no dangling connectors when stacked */
  .ig-grid{ grid-template-columns:repeat(2,1fr); }
  .values-stat{ justify-content:center; }
  /* Calmer hero type on small screens */
  .hero h1{ font-size:clamp(2.4rem,10vw,3.4rem); }
  .hero__sub{ font-size:1.02rem; }
  .page-hero h1{ font-size:clamp(2rem,8vw,2.8rem); }
}
@media (max-width:520px){
  .ig-grid{ grid-template-columns:repeat(2,1fr); }
  .masonry{ columns:1; }
  .hero__actions{ flex-direction:column; }
  .hero__actions .btn{ width:100%; }
  .stats{ grid-template-columns:1fr; }             /* stack stat tiles on very small screens */
  .pillar__icon{ width:64px; height:64px; }        /* trim oversized card icons */
}

/* =====================================================================
   WordPress + Elementor integration adjustments
   ===================================================================== */
/* Fixed header must sit below the WP admin bar when logged in */
.admin-bar .site-header{ top:32px; }
@media (max-width:782px){ .admin-bar .site-header{ top:46px; } }
@media (max-width:600px){ .admin-bar .site-header{ top:0; } }
/* NOTE: the desktop nav is centered by the header flexbox — no admin-bar padding
   here (that was pushing the links down). The mobile slide-out menu is centered
   in its own full-height panel, so it clears the admin bar without offset. */

/* Elementor editor: show reveal-on-scroll content immediately so every widget
   previews live while editing (the scroll observer doesn't run in the editor,
   and re-rendered widgets would otherwise stay hidden at opacity:0). */
body.elementor-editor-active .reveal,
.elementor-editor-active .reveal{ opacity:1 !important; transform:none !important; }

/* Each Worship widget renders its own full-bleed <section>; force the Elementor
   section/column to span full width with no padding so the widget's own
   .container / full-bleed backgrounds control the layout exactly. */
.worship-elementor-section{ width:100%; max-width:100%; padding:0 !important; }
.worship-elementor-section > .elementor-container{ max-width:100% !important; width:100% !important; padding:0 !important; margin:0 !important; }
.worship-elementor-section > .elementor-container > .elementor-column{ width:100% !important; }
.worship-elementor-section .elementor-widget-wrap,
.worship-elementor-section .elementor-element-populated{ padding:0 !important; }
.worship-elementor-section .elementor-widget:not(:last-child){ margin-bottom:0; }

/* -----------------------------------------------------------------------
   Full-width by default — the reliable way.
   Any Elementor section that holds a Worship widget breaks out of the boxed
   container and spans full width; the widget's own .container re-boxes the
   inner content to 1200px. The Contact/Join rows are excluded so their
   two-column layout stays boxed. Matched on Elementor's auto widget classes,
   so it works regardless of section settings — no re-import required.
   ----------------------------------------------------------------------- */
@supports selector(:has(*)) {
  .elementor-section:has([class*="elementor-widget-worship_"]):not(:has(.elementor-widget-worship_contact_form)):not(:has(.elementor-widget-worship_contact_info)) > .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .elementor-section:has([class*="elementor-widget-worship_"]):not(:has(.elementor-widget-worship_contact_form)):not(:has(.elementor-widget-worship_contact_info)) > .elementor-container > .elementor-column,
  .elementor-section:has([class*="elementor-widget-worship_"]):not(:has(.elementor-widget-worship_contact_form)):not(:has(.elementor-widget-worship_contact_info)) .elementor-widget-wrap,
  .elementor-section:has([class*="elementor-widget-worship_"]):not(:has(.elementor-widget-worship_contact_form)):not(:has(.elementor-widget-worship_contact_info)) .elementor-element-populated {
    padding: 0 !important;
  }
  /* Contact / Join rows: stay boxed, but give them the section's vertical rhythm. */
  .elementor-section:has(.elementor-widget-worship_contact_form) {
    padding-block: clamp(56px, 8vw, 104px);
  }
  /* The contact row (form + info) sits on cream, like the design. */
  .elementor-section:has(.elementor-widget-worship_contact_info) {
    background: var(--cream);
  }
  /* Give the two columns of a boxed row a comfortable gutter. */
  .elementor-section:has(.elementor-widget-worship_contact_info) .elementor-column,
  .elementor-section:has(.elementor-widget-worship_contact_form) .elementor-column {
    padding-inline: 14px;
  }
}
/* Belt-and-braces for the theme-default page template (non-Elementor pages)
   and any browser without :has() — the widgets still render, just boxed. */
.elementor-page .worship-elementor-section > .elementor-container { max-width: 100% !important; }
.elementor-widget-worship_hero .elementor-widget-container,
.elementor-widget-worship_page_hero .elementor-widget-container,
.elementor [class*="elementor-widget-worship_"] .elementor-widget-container{ margin:0; }
/* NOTE: we deliberately do NOT reset <p> margins here — the design relies on
   specific paragraph margins (e.g. `.cta p { margin:1rem auto 2rem }` centers
   the CTA text). A blanket `[class*="worship_"] p{margin:0..}` would override
   those at equal specificity and break centering. */

/* ------------------------------------------------------- Single / Archive */
.entry-hero{ position:relative; min-height:52vh; display:flex; align-items:flex-end;
  color:#fff; overflow:hidden; padding-bottom:56px; }
.entry-hero__bg{ position:absolute; inset:0; z-index:0; }
.entry-hero__bg::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(15,10,6,.5), rgba(15,10,6,.82)); }
.entry-hero__inner{ position:relative; z-index:2; padding-top:var(--header-h); }
.entry-hero h1{ color:#fff; font-size:clamp(2.2rem,5vw,3.6rem); max-width:900px; }

.entry-content{ font-size:1.05rem; }
.entry-content h2{ font-size:1.8rem; margin:1.6em 0 .5em; }
.entry-content h3{ font-size:1.35rem; margin:1.4em 0 .5em; }
.entry-content img{ border-radius:var(--radius); margin:1.6em 0; box-shadow:var(--shadow-sm); }
.entry-content blockquote{ margin:1.6em 0; padding:1em 1.4em; border-left:3px solid var(--gold);
  background:var(--cream); font-family:var(--serif); font-style:italic; font-size:1.2rem; color:var(--text-strong); }
.entry-content a{ color:var(--gold-dark); text-decoration:underline; text-underline-offset:3px; }
.entry-content ul, .entry-content ol{ padding-left:1.3em; margin:0 0 1em; }
.entry-content ul{ list-style:disc; } .entry-content ol{ list-style:decimal; }
.entry-content li{ margin:.35em 0; }

.post-meta{ display:flex; flex-wrap:wrap; gap:1.2rem; font-size:.84rem; color:var(--muted);
  letter-spacing:.03em; margin-bottom:1.6rem; }
.post-meta span{ display:inline-flex; gap:.45rem; align-items:center; }
.back-link{ margin-top:2.4rem; }

/* Pagination */
.pagination{ display:flex; gap:.5rem; justify-content:center; margin-top:3rem; flex-wrap:wrap; }
.pagination a, .pagination span{ min-width:44px; height:44px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:6px; font-weight:500; color:var(--text-strong); transition:.25s; }
.pagination a:hover, .pagination .current{ background:var(--gold); color:#1c1508; border-color:var(--gold); }

/* Screen-reader text (WP accessibility standard) */
.screen-reader-text{ position:absolute !important; clip:rect(1px,1px,1px,1px); width:1px; height:1px;
  overflow:hidden; word-wrap:normal !important; }

/* =====================================================================
   Full-bleed section backgrounds — SINGLE SOURCE OF TRUTH
   ---------------------------------------------------------------------
   Every image/video that sits BEHIND content covers its whole section on
   every screen size. Height coverage is the priority: the media is cropped
   left/right by object-fit:cover rather than ever leaving a bare strip.

   Why each declaration matters — an in-flow <img> here shrinks to its own
   aspect ratio on narrow screens (a 16:9 photo is only ~30% as tall as a
   phone-height section, which is what left the grey band below it):
     position:absolute + inset:0 → the box is the section, not the photo
     min-height/max-height:100%   → pins the box to the section height even
                                     if a later `img{height:auto}` rule from
                                     Elementor or a plugin wins `height`
     max-width:none               → `img{max-width:100%}` can't shrink it
     object-fit:cover             → fills the box, crops instead of stretching
   Add any new background wrapper to this list — don't re-style it locally.
   ===================================================================== */
.hero__bg > img,        .hero__bg > video,        .hero__video,
.page-hero__bg > img,   .page-hero__bg > video,
.entry-hero__bg > img,  .entry-hero__bg > video,
.scripture__bg > img,   .scripture__bg > video,
.cta__bg > img,         .cta__bg > video{
  position:absolute; inset:0; width:100%; height:100%;
  min-height:100%; max-height:100%; max-width:none;
  object-fit:cover; object-position:center; }

/* The wrappers clip their own overflow, so a cover-cropped image can never
   spill past the section even where the section itself isn't clipped. */
.hero__bg, .page-hero__bg, .entry-hero__bg, .scripture__bg, .cta__bg{ overflow:hidden; }

/* Sections given a background image in Elementor itself (not via a theme
   widget) get the same guarantee on phones: cover the section height, and
   never use fixed attachment — iOS ignores it and Android sizes the image to
   the viewport instead of the section, which is the other way a background
   ends part-way down and leaves a bare band. */
@media (max-width:820px){
  .elementor-section, .e-con, .e-con-inner{
    background-attachment:scroll !important;   /* fixed is broken on mobile */
    background-size:cover;                     /* only a default — an explicit
                                                  Elementor setting still wins */
    background-position:center;
  }
}

/* =====================================================================
   Hero height variants
   ===================================================================== */
.hero--half{ min-height:60vh; }
.hero--no-overlay .hero__bg::after{ display:none; }

/* =====================================================================
   Header modes (driven by data-mode / data-sticky from PHP)
   ===================================================================== */
.site-header.is-static{ position:absolute; }               /* not sticky — scrolls away */
.site-header[data-mode="solid"]{ background:rgba(255,255,255,.96);
  box-shadow:0 6px 24px rgba(23,17,12,.08); height:72px; backdrop-filter:saturate(140%) blur(6px); }
.site-header[data-mode="solid"] .brand{ color:var(--text-strong); }
.site-header[data-mode="solid"] .brand small{ color:var(--gold-dark); }
.site-header[data-mode="solid"] .nav a{ color:var(--text-strong); }
.site-header[data-mode="solid"] .nav a:hover,
.site-header[data-mode="solid"] .nav a.active{ color:var(--gold-dark); }
.site-header[data-mode="solid"] .nav-toggle span{ background:var(--text-strong); }

/* Custom Elementor header/footer wrappers */
.worship-builder-header{ position:relative; z-index:100; }
.worship-builder-header.is-sticky{ position:sticky; top:0; }
.admin-bar .worship-builder-header.is-sticky{ top:32px; }
@media (max-width:782px){ .admin-bar .worship-builder-header.is-sticky{ top:46px; } }
.worship-builder-footer{ position:relative; }

/* ---------------------------------------------------------------- Search form */
.worship-search{ display:flex; gap:.5rem; align-items:stretch; max-width:460px; margin-inline:auto; }
.worship-search__input{ flex:1; min-width:0; padding:14px 18px; border:1px solid var(--line);
  border-radius:8px; background:var(--cream); font-family:var(--sans); font-size:1rem;
  color:var(--text-strong); transition:.25s; }
.worship-search__input::placeholder{ color:var(--muted); }
.worship-search__input:focus{ outline:none; border-color:var(--gold); background:#fff;
  box-shadow:0 0 0 4px rgba(200,162,76,.14); }
.worship-search__btn{ flex:none; width:54px; border:0; border-radius:8px; background:var(--gold);
  color:#1c1508; display:grid; place-items:center; cursor:pointer; transition:.25s; }
.worship-search__btn:hover{ background:var(--gold-dark); color:#fff; }

/* ---------------------------------------------------- Events: featured + pagination */
.worship-feat-media.has-video::after{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(rgba(16,11,7,.05), rgba(16,11,7,.42)); }
.worship-feat-media .play-badge{ z-index:2; }
.worship-feat-media:hover .play-badge{ background:var(--gold); transform:scale(1.08); }

.worship-events-nav{ display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; margin-top:2.8rem; }
.worship-events-nav button{ min-width:44px; height:44px; padding:0 12px; border:1px solid var(--line);
  border-radius:8px; background:#fff; font-family:var(--sans); font-weight:600; font-size:.95rem;
  color:var(--text-strong); cursor:pointer; transition:.25s; }
.worship-events-nav button:hover{ border-color:var(--gold); color:var(--gold-dark); }
.worship-events-nav button.current{ background:var(--gold); border-color:var(--gold); color:#1c1508; }
.worship-loadmore[disabled]{ opacity:.65; cursor:progress; }
.worship-sentinel{ height:8px; }
.event-row h3 a{ color:inherit; }
.event-row h3 a:hover{ color:var(--gold-dark); }
.ev-meta a{ display:inline-flex; align-items:center; gap:.4rem; }
.ev-meta a:hover, .card__meta a:hover{ color:var(--gold-dark); }

/* ---------------------------------------------------- "Hide This Block" toggle */
body:not(.elementor-editor-active) .worship-block--hidden{ display:none !important; }
.elementor-editor-active .worship-block--hidden{ opacity:.45; outline:1px dashed var(--gold); outline-offset:-2px; }

/* Featured event: linked image + title */
.worship-feat-link{ display:block; width:100%; height:100%; }
.split__body .h2 a{ color:inherit; transition:color .25s; }
.split__body .h2 a:hover{ color:var(--gold-dark); }

/* --------------------------------------- Contact form: embedded plugin shortcode */
.worship-form-embed .worship-shortcode-form{ width:100%; }
.worship-form-embed .worship-shortcode-form > *:first-child{ margin-top:0; }
.worship-form-embed .worship-shortcode-form form{ width:100%; max-width:100%; margin:0; }
.worship-form-embed input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),
.worship-form-embed select,
.worship-form-embed textarea{ max-width:100%; box-sizing:border-box; }
.worship-form-embed .wpforms-container,
.worship-form-embed .wpcf7,
.worship-form-embed .gform_wrapper,
.worship-form-embed .fluentform,
.worship-form-embed .frm_forms,
.worship-form-embed .nf-form-cont{ width:100%; max-width:100%; margin:0; }

/* ---------------------------------------------------- Scripture band title */
.scripture__title{ font-family:var(--serif); font-weight:600; color:#fff;
  font-size:clamp(1.7rem,3.4vw,2.7rem); line-height:1.15; margin:0 0 1.1rem; }
