/* ═══════════════════════════════════════════════════════════════
   EBENEZER TABERNACLES INTERNATIONAL — MASTER DESIGN SYSTEM v3
   Elevation-style cinematic · Bethel warm-light · Apple precision
   Font: Plus Jakarta Sans — one standardized family, all hierarchy
   from weight/size (used site-wide: public site, admin, IBI portal)
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,800&display=swap');

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0C1528;
  --navy-mid:    #162040;
  --navy-soft:   #1E2D52;
  --blue:        #1B4FD8;
  --blue-light:  #3B6EE8;
  --blue-soft:   rgba(27,79,216,0.1);
  --red:         #C01D2E;
  --red-light:   #E02535;
  --red-soft:    rgba(192,29,46,0.1);
  --gold:        #B8860B;
  --gold-light:  #D4A520;
  --gold-soft:   rgba(184,134,11,0.12);

  /* Neutrals */
  --white:       #FFFFFF;
  --off-white:   #F7F7F9;
  --bg:          #F4F4F6;
  --border:      #E8E8EC;
  --border-2:    rgba(0,0,0,0.06);
  --dark:        #0C1528;
  --dark-2:      #1A1A2E;
  --mid:         #3D3D4E;
  --muted:       #6B6B80;
  --light-text:  #9999AA;

  /* Fonts — standardized on a single family; hierarchy comes from weight/size only */
  --f-display:  'Plus Jakarta Sans', sans-serif;
  --f-head:     'Plus Jakarta Sans', sans-serif;
  --f-body:     'Plus Jakarta Sans', sans-serif;
  --f-serif:    'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --nav-h:      72px;
  --r:          14px;
  --r-sm:       8px;
  --r-xs:       6px;
  --r-pill:     999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow:     0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.13);
  --shadow-xl:  0 24px 80px rgba(0,0,0,0.18);

  /* Transitions */
  --ease:       cubic-bezier(0.4,0,0.2,1);
  --t:          0.28s;
}

/* ── RESET ─────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:var(--f-body);color:var(--mid);background:var(--white);overflow-x:hidden;line-height:1.65}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:var(--f-body);border:none;background:none}
input,select,textarea{font-family:var(--f-body);outline:none}
ul{list-style:none}

/* ── TYPOGRAPHY SCALE ──────────────────────────────────────── */
.t-display {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(64px,10vw,140px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--white);
}
.t-hero {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px,7vw,100px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.t-h1 {
  font-family: var(--f-head);
  font-size: clamp(2.2rem,4vw,3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.t-h2 {
  font-family: var(--f-head);
  font-size: clamp(1.7rem,3vw,2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.t-h3 {
  font-family: var(--f-head);
  font-size: clamp(1.2rem,2vw,1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.t-label {
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.t-label-red { color: var(--red); }
.t-label-gold { color: var(--gold); }
.t-serif { font-family: var(--f-serif); }

/* ── NAVIGATION ─────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(20px,4%,60px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-2);
  transition: box-shadow var(--t) var(--ease),
              background var(--t) var(--ease);
}
#nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: var(--shadow-sm);
}
#nav.dark-mode {
  background: rgba(12,21,40,0.94);
  border-color: rgba(255,255,255,0.06);
}
#nav.dark-mode .nav-link { color: rgba(255,255,255,0.8); }
#nav.dark-mode .nav-link:hover { color: var(--white); }

.nav-inner {
  width: 100%; max-width: 1360px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
}

/* Logo — text wordmark (no logo image for now) */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0; margin-right: 8px;
}
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-logo-text { flex-direction: column; align-items: flex-start; line-height: 1.15; gap: 0; }
.nav-logo-mark {
  font-family: var(--f-display); font-weight: 800; font-size: 21px;
  color: var(--navy); letter-spacing: 0.01em;
}
.nav-logo-sub {
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted);
}
#nav.dark-mode .nav-logo-mark { color: var(--white); }
#nav.dark-mode .nav-logo-sub { color: rgba(255,255,255,0.55); }

/* Links */
.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
}
.nav-link {
  display: block; padding: 8px 13px;
  font-size: 13.5px; font-weight: 600;
  color: var(--mid); border-radius: var(--r-xs);
  transition: color var(--t) var(--ease),
              background var(--t) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--dark); background: var(--bg); }
.nav-link.active { color: var(--blue); }

/* Dropdown groups */
.nav-links li { position: relative; }
.nav-caret { font-size: 8px; margin-left: 3px; display: inline-block; transition: transform var(--t) var(--ease); vertical-align: 1px; }
.nav-links li.has-dropdown:hover .nav-caret,
.nav-links li.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; margin-top: 6px;
  min-width: 230px;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t) var(--ease);
  z-index: 950;
}
.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--r-xs);
  font-size: 13.5px; font-weight: 600; color: var(--mid);
  white-space: nowrap; transition: background var(--t), color var(--t);
}
.nav-dropdown a:hover { background: var(--bg); color: var(--dark); }

/* Mobile accordion groups */
.mm-group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; font-size: 17px; font-weight: 600; color: var(--dark);
  border-bottom: 1px solid var(--border-2); background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.mm-caret { font-size: 12px; transition: transform var(--t) var(--ease); color: var(--muted); }
.mm-group.open .mm-caret { transform: rotate(180deg); }
.mm-group-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.mm-group.open .mm-group-panel { max-height: 600px; }
.mm-group-panel a { padding-left: 16px !important; font-size: 15px !important; border-bottom: 1px solid var(--border-2); }
.mm-group-panel a:last-child { border-bottom: none; }

.nav-cta {
  margin-left: 8px;
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: var(--r-pill) !important;
  padding: 9px 22px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.02em;
  transition: background var(--t) var(--ease),
              transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease) !important;
}
.nav-cta:hover {
  background: var(--red-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,29,46,0.35) !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-xs); margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 899; padding: 16px 24px 28px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: 17px; font-weight: 600; color: var(--dark);
  border-bottom: 1px solid var(--border-2);
  transition: color var(--t);
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu a:last-child { border: none; }

/* ── PAGE WRAPPER ──────────────────────────────────────────── */
.page-wrap { padding-top: var(--nav-h); }

/* ── HERO SLIDER ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh; min-height: 640px;
  overflow: hidden;
}

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: all; }

/* Ken Burns effect */
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 9s ease;
  filter: brightness(0.82) saturate(0.95) contrast(1.03);
}
.hero-slide.active img { transform: scale(1); }

.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.82) saturate(0.95) contrast(1.03);
}

/* Gradient overlays — deeper, unifying navy wash + vignette so mismatched
   source photos (different lighting/color) read as one cinematic brand mood */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(12,21,40,0.6) 0%, rgba(12,21,40,0.32) 55%, rgba(12,21,40,0.12) 100%),
    linear-gradient(to top, rgba(12,21,40,0.48) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(12,21,40,0.28) 0%, transparent 30%),
    radial-gradient(ellipse 90% 90% at 50% 50%, transparent 60%, rgba(12,21,40,0.18) 100%);
}

/* Content — centered, and lifted above the gallery strip at the bottom */
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 clamp(24px,7%,140px) 130px;
}
.hero-text {
  max-width: 700px; width: 100%; position: relative; z-index: 2;
  text-align: center;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 18px;
  animation: heroUp 0.9s var(--ease) both;
}
.hero-eyebrow-line {
  width: 36px; height: 2px; background: var(--red);
}
.hero-eyebrow span {
  font-family: var(--f-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.hero-h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px,4.2vw,46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 4px 30px rgba(0,0,0,0.4);
  margin-bottom: 18px;
  animation: heroUp 0.9s 0.12s var(--ease) both;
}
.hero-h1 .accent { color: var(--red); }
.hero-h1 .accent-blue { color: #5B8FFF; }

.hero-sub {
  font-size: clamp(14px,1.4vw,16px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 30px;
  font-weight: 400;
  animation: heroUp 0.9s 0.22s var(--ease) both;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: heroUp 0.9s 0.32s var(--ease) both;
}

/* Slider controls — lifted above the gallery strip */
.slider-nav {
  position: absolute; bottom: 140px; left: clamp(24px,7%,140px);
  display: flex; align-items: center; gap: 16px; z-index: 10;
}
.slider-dots { display: flex; gap: 8px; }
.s-dot {
  width: 6px; height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.35);
  transition: width 0.4s var(--ease), background 0.3s;
  cursor: pointer;
}
.s-dot.active { width: 28px; background: var(--white); }

.slider-arrows {
  position: absolute; right: 40px; bottom: 134px;
  display: flex; gap: 8px; z-index: 10;
}
.s-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 18px;
  cursor: pointer; transition: background var(--t), transform var(--t);
  backdrop-filter: blur(8px);
}
.s-arrow:hover { background: rgba(255,255,255,0.22); transform: scale(1.08); }

/* ── HERO GALLERY STRIP — one continuous photo marquee, anchored to the
   bottom of the hero: flows left, then reverses and flows right, on
   repeat (duration set by .hgs-track's animation-duration) ─────────── */
.hero-gallery-strip {
  position: absolute; left: 0; right: 0; bottom: 22px;
  z-index: 6;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.hgs-row { overflow: hidden; width: 100%; }
.hgs-track {
  display: flex; gap: 18px; width: max-content;
  animation: hgsScroll 180s linear infinite alternate;
  will-change: transform;
}
.hgs-item {
  flex: 0 0 auto;
  width: 270px; height: 172px;
  border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.hgs-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes hgsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .hero-gallery-strip { display: none; }
  .hero-content { padding-bottom: 0; }
  .slider-nav { bottom: 26px; }
  .slider-arrows { bottom: 20px; }
}

/* ── SECTION DEFAULTS ──────────────────────────────────────── */
.s { padding: 100px clamp(24px,6%,100px); }
.s-sm { padding: 64px clamp(24px,6%,100px); }
.s-dark { background: var(--navy); }
.s-navy-mid { background: var(--navy-mid); }
.s-bg { background: var(--off-white); }
.s-white { background: var(--white); }
.s-red { background: var(--red); }

/* Warm, on-brand tint for the homepage "Who We Are" strip */
.about-strip-bg { background: #F6EFDD; }

/* ── PROMO / POSTER CARDS — "Happening at ETI" teaser grid ──────── */
.promo-card {
  position: relative; display: flex; overflow: hidden;
  border-radius: 18px; padding: 30px 26px; min-height: 340px;
  flex-direction: column; justify-content: flex-end;
  color: var(--white);
  box-shadow: 0 16px 40px rgba(12,21,40,0.22);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.promo-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(12,21,40,0.32); }
.promo-card-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; transition: transform 0.7s var(--ease);
}
.promo-card:hover .promo-card-img { transform: scale(1.08); }
.promo-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.promo-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}
.promo-card.navy::before { background: linear-gradient(160deg, rgba(12,21,40,0.65), rgba(22,32,64,0.32)); }
.promo-card.red::before  { background: linear-gradient(160deg, rgba(122,18,32,0.65), rgba(192,29,46,0.32)); }
.promo-card.blue::before { background: linear-gradient(160deg, rgba(15,42,107,0.65), rgba(27,79,216,0.32)); }
.promo-card.gold::before { background: linear-gradient(160deg, rgba(122,90,8,0.65), rgba(184,134,11,0.32)); }

/* Designed graphics (flyers, posters) — show the whole image uncropped and
   free of the color tint used on photo cards, so the artwork reads clearly. */
.promo-card-contain .promo-card-img { object-fit: contain; background: #fff; }
.promo-card-contain::before { opacity: 0.12; }
.promo-card-contain::after { background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.08) 55%, transparent 100%); }
/* White tag text disappears against this card's near-white artwork —
   use a solid, opaque pill with red text instead. */
.promo-card-contain .promo-tag { background: var(--white); color: var(--red); backdrop-filter: none; }
.promo-tag {
  position: relative; z-index: 2; align-self: flex-start;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(6px);
  padding: 5px 12px; border-radius: 20px; margin-bottom: auto;
}
.promo-card h3 {
  position: relative; z-index: 2;
  font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; line-height: 1.15;
  margin-top: 16px; margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.promo-meta {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: 14px;
}

/* ── FLYER CARDS — image-forward slots for programme/invite graphics ── */
.flyer-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 3/4; background: var(--dark-2);
  box-shadow: 0 14px 30px rgba(12,21,40,0.14);
}
/* contain (not cover) — flyer graphics carry dates/text anywhere in the
   frame, so we never crop them, whatever aspect ratio they come in. */
.flyer-card img { width: 100%; height: 100%; object-fit: contain; display: block; }
.flyer-placeholder {
  display: none; position: absolute; inset: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: repeating-linear-gradient(135deg, var(--off-white) 0 14px, #EFEFF3 14px 28px);
  border: 2px dashed var(--border);
  color: var(--muted); font-size: 13px; font-weight: 600;
}
.flyer-placeholder-icon { font-size: 32px; opacity: 0.5; }

/* ── WORSHIP BANNER — bright, well-lit photo banner heading the
   "Come & Worship With Us" services section ────────────────── */
.worship-banner {
  position: relative; border-radius: 24px; overflow: hidden;
  min-height: 420px; display: flex; align-items: flex-end;
  margin-bottom: 56px;
  box-shadow: 0 24px 60px rgba(12,21,40,0.22);
}
.worship-banner-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.8s var(--ease);
}
.worship-banner-slide.active { opacity: 1; }
.worship-banner-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(1.05);
}

/* ── ABOUT PAGE HERO — real photo crossfade behind the dark banner ──── */
.about-hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.8s var(--ease);
}
.about-hero-slide.active { opacity: 1; }
.about-hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.75) saturate(0.95);
}
.worship-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,21,40,0.90) 0%, rgba(12,21,40,0.5) 42%, rgba(12,21,40,0.08) 72%, transparent 100%);
}
.worship-banner-text {
  position: relative; z-index: 2;
  padding: 48px clamp(24px,5%,64px);
  max-width: 720px;
}
.worship-banner-text .s-sub { max-width: 520px; margin-top: 10px; }
@media (max-width: 768px) {
  .worship-banner { min-height: 320px; margin-bottom: 40px; }
  .worship-banner-text { padding: 30px 24px; }
}

.s-inner { max-width: 1360px; margin: 0 auto; }

/* ── ABOUT STRIP PHOTO SLIDESHOW ───────────────────────────── */
.about-photo-frame {
  position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4/5;
}
.about-photo-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.about-photo-slide.active { opacity: 1; }
.about-photo-slide img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-card {
  position: absolute; bottom: 28px; left: 28px; right: 28px;
  background: rgba(12,21,40,0.94); backdrop-filter: blur(16px);
  border-radius: 14px; padding: 20px 22px;
  border: 1px solid rgba(184,134,11,0.32);
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  z-index: 2;
}
.about-photo-card::before {
  content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.apc-row { display: flex; align-items: center; gap: 16px; }
.apc-badge {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 800; font-size: 16px; color: var(--navy);
  box-shadow: 0 4px 14px rgba(184,134,11,0.4);
  overflow: hidden;
  border: 2px solid var(--gold-light);
}
.apc-badge img { width: 100%; height: 100%; object-fit: cover; }
.apc-text { min-width: 0; }
.apc-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 5px;
}
.apc-name {
  font-family: var(--f-head); font-size: 16.5px; font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.apc-org {
  font-size: 12.5px; color: rgba(255,255,255,0.62); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.s-header { margin-bottom: 60px; }
.s-header.center { text-align: center; }
.s-header.center .s-sub { margin: 14px auto 0; }

.s-title {
  font-family: var(--f-head);
  font-size: clamp(2rem,3.5vw,3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark);
}
.s-title.white { color: var(--white); }
.s-sub {
  font-size: 17px; color: var(--muted);
  line-height: 1.8; max-width: 580px;
  margin-top: 14px; font-weight: 400;
}
.s-sub.white { color: rgba(255,255,255,0.6); }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  font-family: var(--f-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.01em; border-radius: var(--r-pill);
  transition: all var(--t) var(--ease);
  cursor: pointer; border: none; white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-red   { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,29,46,0.35); }

.btn-blue  { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,79,216,0.35); }

.btn-dark  { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(12,21,40,0.3); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }

.btn-outline {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--dark); background: var(--bg); }

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 38px; font-size: 16px; }
.btn-xl { padding: 19px 48px; font-size: 17px; }

/* ── QUICK INFO BAR ────────────────────────────────────────── */
.quick-bar {
  background: var(--navy);
  padding: 0 clamp(24px,6%,100px);
  overflow-x: auto;
}
.quick-bar-inner {
  max-width: 1360px; margin: 0 auto;
  display: flex; align-items: stretch;
  min-height: 68px;
}
.qb-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px; border-right: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap; flex-shrink: 0;
}
.qb-item:first-child { padding-left: 0; }
.qb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.qb-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 1px; letter-spacing: 0.05em; text-transform: uppercase; }
.qb-val { font-size: 13.5px; color: var(--white); font-weight: 600; }
.qb-live {
  margin-left: auto; padding: 0 0 0 28px; border: none;
  display: flex; align-items: center;
}
.live-pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(192,29,46,0.15);
  border: 1px solid rgba(192,29,46,0.35);
  border-radius: var(--r-pill); padding: 8px 18px;
  text-decoration: none;
  transition: background var(--t);
}
.live-pill:hover { background: rgba(192,29,46,0.25); }
.live-blink { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.4s ease infinite; }
.live-pill span { font-size: 12px; font-weight: 700; color: #FF8090; letter-spacing: 0.1em; text-transform: uppercase; }

/* ── CARDS ─────────────────────────────────────────────────── */
/* Generic content card — used across several public pages (groups,
   serve, store, counselling, sons-of-prophets). Was previously undefined
   here (only existed in admin.css), so these cards had no background,
   border or radius on the public site at all. */
.ac {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Service Card — each color variant carries its own accent used for
   the top bar, icon badge, hover border and the time stamp. */
.svc-card {
  --svc-accent: var(--blue);
  --svc-accent-soft: var(--blue-soft);
  background: linear-gradient(180deg, var(--svc-accent-soft) 0%, var(--white) 130px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.svc-card.blue { --svc-accent: var(--blue); --svc-accent-soft: var(--blue-soft); }
.svc-card.red  { --svc-accent: var(--red);  --svc-accent-soft: var(--red-soft); }
.svc-card.gold { --svc-accent: var(--gold); --svc-accent-soft: var(--gold-soft); }
.svc-card.navy { --svc-accent: var(--navy-mid); --svc-accent-soft: rgba(22,32,64,0.08); }

.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--svc-accent); }
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--svc-accent);
}
.svc-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 22px;
  background: var(--white);
  box-shadow: 0 6px 16px rgba(12,21,40,0.1), inset 0 0 0 1.5px var(--svc-accent-soft);
}
.svc-card h3 { font-family: var(--f-head); font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.svc-time {
  display: inline-block;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em;
  color: var(--svc-accent);
  background: var(--svc-accent-soft);
  padding: 6px 12px; border-radius: 20px;
  margin-top: 18px;
}


/* Blog Card — each one themed with its own accent color, tied to its category */
.blog-card {
  --blog-accent: var(--blue); --blog-accent-soft: var(--blue-soft);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  position: relative;
  transition: transform var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.blog-card.blue { --blog-accent: var(--blue); --blog-accent-soft: var(--blue-soft); }
.blog-card.red  { --blog-accent: var(--red);  --blog-accent-soft: var(--red-soft); }
.blog-card.gold { --blog-accent: var(--gold); --blog-accent-soft: var(--gold-soft); }
.blog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--blog-accent); z-index: 2;
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-xl); border-color: var(--blog-accent); }
.blog-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg); flex-shrink: 0; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }
.blog-cat-pill {
  display: inline-block; padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card-pill.blog-card-pill {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  margin-bottom: 0;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
}
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-red  { background: var(--red-soft); color: var(--red); }
.pill-gold { background: var(--gold-soft); color: var(--gold); }
.pill-gray { background: var(--bg); color: var(--muted); }
.blog-card-body h3 {
  font-family: var(--f-head);
  font-size: 1.1rem; font-weight: 700;
  color: var(--dark); line-height: 1.4;
  margin-bottom: 10px; transition: color var(--t);
}
.blog-card:hover h3 { color: var(--blog-accent); }
.blog-card-body p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; flex: 1; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.blog-meta-date { font-size: 12px; color: var(--light-text); }
.read-more { font-size: 13px; font-weight: 700; color: var(--blog-accent); display: flex; align-items: center; gap: 5px; transition: gap var(--t); }
.blog-card:hover .read-more { gap: 8px; }

/* Sermon Card */
.sermon-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.sermon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.sermon-thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: var(--navy); }
.sermon-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: opacity var(--t), transform 0.7s; }
.sermon-card:hover .sermon-thumb img { opacity: 0.85; transform: scale(1.04); }
.sermon-play-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-ring {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 20px;
  transition: transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.sermon-card:hover .play-ring { transform: scale(1.12); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.sermon-duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.72); color: var(--white);
  font-size: 12px; font-weight: 600;
  padding: 3px 8px; border-radius: 4px;
  backdrop-filter: blur(4px);
}
.sermon-info { padding: 20px 22px; }
.sermon-cat-tag { font-size: 11px; color: var(--red); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.sermon-info h3 { font-family: var(--f-head); font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.45; margin-bottom: 6px; }
.sermon-info p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Testimony Card */
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 32px;
  transition: box-shadow var(--t);
}
.testi-card:hover { box-shadow: var(--shadow); }
.testi-q-mark {
  font-family: var(--f-serif); font-size: 72px; line-height: 0.6;
  color: var(--red); opacity: 0.25; margin-bottom: 20px;
}
.testi-body {
  font-family: var(--f-serif); font-size: 16px; line-height: 1.85;
  color: var(--mid); font-style: italic; margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-ava {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-size: 14px; font-weight: 800; color: var(--white);
}
.testi-ava img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-family: var(--f-head); font-size: 14px; font-weight: 700; color: var(--dark); }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── PRAYER WALL CARD ─────────────────────────────────────────── */
.prayer-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.prayer-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}
.prayer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prayer-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; margin-bottom: 16px;
}
.prayer-subject {
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.prayer-message { font-size: 15px; color: var(--dark); line-height: 1.75; margin-bottom: 22px; flex: 1; }
.prayer-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.prayer-name { font-family: var(--f-head); font-weight: 700; font-size: 13.5px; color: var(--dark); }
.prayer-time { font-size: 12px; color: var(--muted); }

/* ── TESTIMONIES CAROUSEL — badge header + 2-up card pager ───── */
.testi-section { position: relative; overflow: hidden; }
.testi-glow {
  position: absolute; top: -120px; left: 0; right: 0; height: 260px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(192,29,46,0.28), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.testi-badge-wrap { text-align: center; margin-bottom: 44px; position: relative; z-index: 1; }
.testi-badge {
  display: inline-block;
  background: var(--red); color: var(--white);
  font-family: var(--f-head); font-weight: 800; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 40px; border-radius: 10px;
  box-shadow: 0 10px 26px rgba(192,29,46,0.3);
}

.testi-carousel { position: relative; display: flex; align-items: center; gap: 20px; }
.testi-viewport { flex: 1; overflow: hidden; min-width: 0; }
.testi-track { display: flex; transition: transform 0.65s cubic-bezier(0.65,0,0.35,1); }
.testi-pair {
  flex: 0 0 100%; min-width: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 10px 4px 26px;
}
.testi-card2 {
  position: relative; background: var(--white); border-radius: var(--r);
  padding: 36px 34px;
  box-shadow: 0 30px 50px -18px rgba(12,21,40,0.28), 0 10px 22px -6px rgba(12,21,40,0.12);
  display: flex; flex-direction: column;
}
.testi-body2 {
  font-size: 16px; line-height: 1.85; color: var(--dark);
  margin-bottom: 22px; flex: 1;
}
.testi-attrib { font-size: 13.5px; color: var(--muted); }
.testi-attrib .testi-loc { font-style: italic; }

.testi-arrow {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; cursor: pointer;
  box-shadow: 0 10px 24px rgba(192,29,46,0.3);
  transition: transform var(--t), background var(--t);
}
.testi-arrow:hover { background: var(--red-light); transform: scale(1.08); }

.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all var(--t); }
.testi-dot.active { width: 22px; border-radius: 4px; background: var(--red); }

@media (max-width: 700px) {
  .testi-pair { grid-template-columns: 1fr; }
  .testi-arrow { width: 38px; height: 38px; font-size: 13px; }
  .testi-badge { padding: 12px 28px; font-size: 12px; }
}

/* Event Card */
.event-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  display: flex; transition: transform var(--t), box-shadow var(--t);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.event-date-col {
  background: var(--navy); color: var(--white);
  padding: 24px 20px; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-width: 88px; flex-shrink: 0;
}
.event-day { font-family: var(--f-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.event-month { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 2px; }
.event-body { padding: 22px 24px; flex: 1; }
.event-type { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.event-body h3 { font-family: var(--f-head); font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.event-body p { font-size: 13px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.event-time { font-size: 12px; color: var(--blue); font-weight: 600; }

/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
}
.stat-col {
  padding: 44px 36px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  transition: background var(--t);
}
.stat-col:last-child { border: none; }
.stat-col:hover { background: rgba(255,255,255,0.04); }
.stat-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 4rem; line-height: 1;
  color: var(--white); margin-bottom: 6px;
}
.stat-num .accent { color: var(--red); }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ── LINEAGE — spiritual heritage chart ──────────────────────── */
.lineage-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.lineage-card {
  position: relative;
  flex: 1; min-width: 200px; text-align: center;
  padding: 38px 24px 30px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform var(--t) var(--ease), border-color var(--t), background var(--t);
}
.lineage-card:hover { transform: translateY(-6px); border-color: rgba(184,134,11,0.5); }
.lineage-card.featured {
  background: linear-gradient(180deg, rgba(184,134,11,0.16), rgba(255,255,255,0.03));
  border-color: var(--gold-light);
  box-shadow: 0 24px 50px rgba(184,134,11,0.18);
}
.lineage-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font-family: var(--f-head); font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  box-shadow: 0 6px 16px rgba(184,134,11,0.4);
}
.lineage-gen {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 18px;
}
.lineage-ava {
  width: 108px; height: 108px; border-radius: 50%;
  margin: 0 auto 18px; overflow: hidden;
  border: 3px solid rgba(255,255,255,0.18);
  background: var(--navy-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-size: 28px; font-weight: 800;
  color: var(--white);
  box-shadow: 0 10px 26px rgba(0,0,0,0.3);
}
.lineage-card.featured .lineage-ava { border-color: var(--gold-light); box-shadow: 0 10px 30px rgba(184,134,11,0.35); }
.lineage-ava img { width: 100%; height: 100%; object-fit: cover; }
.lineage-card h4 { font-family: var(--f-head); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.lineage-card span { font-size: 12.5px; color: rgba(255,255,255,0.5); }

.lineage-connector { position: relative; display: flex; align-items: center; flex-direction: column; flex-shrink: 0; width: 60px; }
.lineage-connector-line { width: 100%; height: 1.5px; background: linear-gradient(90deg, rgba(184,134,11,0.1), var(--gold-light), rgba(184,134,11,0.1)); }
.lineage-connector-dot {
  margin-top: -11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  box-shadow: 0 4px 12px rgba(184,134,11,0.4);
}

/* Floating decorative ribbons — soft blurred glowing shapes drifting
   behind the lineage cards for depth, purely CSS (transform + blur). */
.lineage-section { position: relative; overflow: hidden; }
.lineage-section .s-inner { position: relative; z-index: 2; }
.lineage-ribbon {
  position: absolute; z-index: 0;
  border-radius: 50% / 35%;
  filter: blur(50px);
  opacity: 0.4;
  mix-blend-mode: screen;
  pointer-events: none;
}
.lineage-ribbon-1 {
  width: 520px; height: 150px;
  background: linear-gradient(120deg, var(--gold-light), transparent 70%);
  top: -70px; left: -140px;
  transform: rotate(-20deg);
  animation: ribbonFloat1 18s ease-in-out infinite;
}
.lineage-ribbon-2 {
  width: 440px; height: 130px;
  background: linear-gradient(120deg, var(--red-light), transparent 70%);
  bottom: -90px; right: -110px;
  transform: rotate(24deg);
  animation: ribbonFloat2 22s ease-in-out infinite;
}
.lineage-ribbon-3 {
  width: 320px; height: 100px;
  background: linear-gradient(120deg, var(--blue-light), transparent 70%);
  top: 38%; right: 8%;
  transform: rotate(-10deg);
  animation: ribbonFloat3 15s ease-in-out infinite;
}
@keyframes ribbonFloat1 {
  0%, 100% { transform: translate(0,0) rotate(-20deg); }
  50%      { transform: translate(35px,25px) rotate(-13deg); }
}
@keyframes ribbonFloat2 {
  0%, 100% { transform: translate(0,0) rotate(24deg); }
  50%      { transform: translate(-30px,-20px) rotate(30deg); }
}
@keyframes ribbonFloat3 {
  0%, 100% { transform: translate(0,0) rotate(-10deg); }
  50%      { transform: translate(18px,-28px) rotate(-16deg); }
}
@media (max-width: 700px) {
  .lineage-ribbon { display: none; }
}

/* ── FORMS ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 7px; letter-spacing: 0.01em;
}
.form-label.white { color: rgba(255,255,255,0.85); }
.form-control {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: 15px; color: var(--dark);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(27,79,216,0.1);
}
.form-control::placeholder { color: #C0C0CC; }
.form-control.dark-field {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}
.form-control.dark-field::placeholder { color: rgba(255,255,255,0.3); }
.form-control.dark-field:focus { border-color: var(--blue); background: rgba(255,255,255,0.12); }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B80' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── PAGE HERO ─────────────────────────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 130px clamp(24px,6%,100px) 90px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 40%, rgba(192,29,46,0.12), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(27,79,216,0.1), transparent 50%);
  pointer-events: none;
}
.page-hero-decor {
  position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  opacity: 0.06;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28vw;
  line-height: 1;
  color: var(--white);
  display: flex; align-items: center; justify-content: flex-end;
  overflow: hidden; user-select: none; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(52px,7vw,100px);
  line-height: 0.97; letter-spacing: -0.015em;
  color: var(--white); margin-top: 12px; margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 540px; line-height: 1.75; font-weight: 300; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--f-head); font-size: 16px; font-weight: 600;
  color: var(--dark); background: none; cursor: pointer;
  transition: color var(--t); gap: 16px;
}
.faq-q:hover { color: var(--blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--blue); transition: transform 0.3s, background 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding-bottom: 22px; font-size: 15px; color: var(--muted); line-height: 1.85; }
.faq-item.open .faq-a { max-height: 400px; }

/* ── TABS ──────────────────────────────────────────────────── */
.tab-bar {
  display: flex; gap: 4px; border-bottom: 1.5px solid var(--border);
  margin-bottom: 48px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 12px 22px; border: none; background: none;
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  color: var(--muted); cursor: pointer; white-space: nowrap;
  border-bottom: 2.5px solid transparent; margin-bottom: -1.5px;
  transition: color var(--t), border-color var(--t);
}
.tab-btn:hover { color: var(--dark); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s ease; }

/* ── DOWNLOAD ROW ──────────────────────────────────────────── */
.dl-row {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  margin-bottom: 12px;
}
.dl-row:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }
.dl-icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.dl-icon.pdf { background: rgba(239,68,68,0.1); }
.dl-icon.audio { background: rgba(27,79,216,0.1); }
.dl-icon.music { background: rgba(168,85,247,0.1); }
.dl-icon.prayer { background: rgba(20,184,166,0.1); }
.dl-info { flex: 1; min-width: 0; }
.dl-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.dl-title { font-size: 15px; font-weight: 700; color: var(--dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dl-meta-txt { font-size: 12px; color: var(--muted); }
.dl-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.dl-count { font-size: 11px; color: var(--muted); text-align: right; line-height: 1.5; white-space: nowrap; }
.dl-count b { display: block; font-size: 15px; font-weight: 800; color: var(--dark); font-family: var(--f-head); }
.dl-pill {
  display: inline-flex; align-items: center; flex-shrink: 0;
  padding: 3px 11px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
}
.dl-pill.pdf    { background: rgba(239,68,68,0.1);  color: #d32f3f; }
.dl-pill.audio  { background: rgba(27,79,216,0.1);  color: var(--blue); }
.dl-pill.music  { background: rgba(168,85,247,0.1); color: #9333ea; }
.dl-pill.prayer { background: rgba(20,184,166,0.1); color: #0f9488; }

/* ── GIVE PAGE ─────────────────────────────────────────────── */
.give-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  min-height: calc(100svh - var(--nav-h));
}
.give-left {
  background: var(--navy);
  padding: 70px clamp(24px,6%,80px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.give-left::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(192,29,46,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(27,79,216,0.12), transparent 50%);
  pointer-events: none;
}
.give-left-inner { position: relative; }
.give-left h2 { color: var(--white); margin-bottom: 12px; }
.give-left > div > p { color: rgba(255,255,255,0.6); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }
.give-opt-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: all var(--t);
  text-align: left; width: 100%; margin-bottom: 8px;
}
.give-opt-btn:hover, .give-opt-btn.active {
  background: rgba(27,79,216,0.2); border-color: rgba(27,79,216,0.5);
}
.give-opt-btn.active { border-color: var(--blue); }
.give-opt-icon { font-size: 22px; flex-shrink: 0; }
.give-opt-btn strong { display: block; color: var(--white); font-size: 14px; font-family: var(--f-head); font-weight: 700; }
.give-opt-btn small { color: rgba(255,255,255,0.45); font-size: 12px; }
.give-right { background: var(--white); padding: 70px clamp(24px,6%,80px); overflow-y: auto; }
.give-panel { display: none; }
.give-panel.active { display: block; animation: fadeIn 0.3s ease; }
.give-panel h2 { font-size: clamp(1.6rem,2.5vw,2.2rem); margin-bottom: 8px; }
.give-panel > p { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.amount-btn {
  padding: 14px 8px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700; color: var(--dark);
  cursor: pointer; transition: all var(--t); background: var(--off-white);
}
.amount-btn:hover, .amount-btn.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }

.bank-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 24px; margin-bottom: 16px; }
.bank-card-head { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.bank-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border-2); font-size: 14px; }
.bank-row:last-child { border: none; padding-bottom: 0; }
.bank-row-key { color: var(--muted); }
.bank-row-val { font-weight: 700; color: var(--dark); text-align: right; }
.copy-btn { cursor: pointer; color: var(--blue); font-size: 12px; margin-left: 8px; transition: color var(--t); }
.copy-btn:hover { color: var(--red); }

/* ── MEDIA PAGE ────────────────────────────────────────────── */
.stream-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.stream-sidebar {
  background: var(--navy); border-radius: var(--r);
  padding: 24px; position: sticky; top: calc(var(--nav-h) + 16px);
}
.stream-sidebar h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 12px; margin-top: 20px; }
.stream-sidebar h4:first-child { margin-top: 0; }
.stream-opt-side {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--r-xs);
  background: none; border: none; cursor: pointer;
  transition: background var(--t); text-align: left; width: 100%; margin-bottom: 3px;
}
.stream-opt-side:hover, .stream-opt-side.active { background: rgba(255,255,255,0.08); }
.stream-opt-side .sn-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
.sn-icon-yt { background: linear-gradient(135deg, var(--red-light), #7A1220); }
.sn-icon-fb { background: linear-gradient(135deg, #4d92fb, #1354c9); border-radius: 50%; }
.stream-opt-side strong { display: block; color: var(--white); font-size: 13.5px; font-weight: 600; }
.stream-opt-side small { font-size: 11px; color: rgba(255,255,255,0.38); }
.stream-sidebar-action {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-xs);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all var(--t);
  text-align: left; width: 100%; margin-bottom: 6px;
  color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500;
}
.stream-sidebar-action:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.player-box { background: var(--navy); border-radius: var(--r); overflow: hidden; margin-bottom: 20px; }
.player-screen { aspect-ratio: 16/9; background: #040810; position: relative; display: flex; align-items: center; justify-content: center; }
.player-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* ── COUNTDOWN ─────────────────────────────────────────────── */
.countdown { display: flex; gap: 12px; flex-wrap: wrap; }
.ci { text-align: center; }
.ci-val {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 3.2rem; line-height: 1;
  color: var(--white); display: block;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-sm); padding: 16px 20px;
  min-width: 80px;
}
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 6px; display: block; }

/* ── NEWSLETTER ────────────────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(115deg, var(--navy) 0%, var(--blue) 100%);
  padding: 64px clamp(24px,6%,100px);
  position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(184,134,11,0.18), transparent 55%);
  pointer-events: none;
}
.newsletter-inner { position: relative; max-width: 1360px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.newsletter-text { display: flex; align-items: center; gap: 20px; }
.newsletter-icon {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(155deg, rgba(255,255,255,0.22), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
}
.newsletter-icon svg { filter: drop-shadow(0 6px 10px rgba(0,0,0,0.25)); }
.newsletter-text h2 { color: var(--white); font-size: clamp(1.6rem,2.5vw,2.2rem); margin-bottom: 6px; }
.newsletter-text p { color: rgba(255,255,255,0.75); font-size: 15px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 20px; border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--f-body); font-size: 14px;
  width: 280px; backdrop-filter: blur(8px);
  transition: border-color var(--t), background var(--t);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.18); }
.newsletter-form .btn { box-shadow: 0 10px 24px rgba(0,0,0,0.2); }
.newsletter-fine { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.45); text-align: right; }

/* ── CTA SECTION — photographic closing banner ───────────────── */
.cta-section {
  background: var(--navy);
  padding: 120px clamp(24px,6%,100px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  z-index: 0;
}
.cta-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(12,21,40,0.94) 0%, rgba(12,21,40,0.88) 55%, rgba(12,21,40,0.96) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(27,79,216,0.22), transparent 65%);
}
.cta-inner { position: relative; z-index: 2; }
.cta-divider {
  width: 64px; height: 3px; margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  border-radius: 2px;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 38px; font-size: 17px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn { box-shadow: 0 14px 30px rgba(0,0,0,0.25); }

/* ── SOCIAL FEED ───────────────────────────────────────────── */
.social-feed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.social-post {
  aspect-ratio: 1; overflow: hidden; position: relative; background: var(--bg);
  cursor: pointer;
}
.social-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; }
.social-post:hover img { transform: scale(1.07); filter: brightness(0.75); }
.social-post-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t);
  background: rgba(12,21,40,0.6);
}
.social-post:hover .social-post-overlay { opacity: 1; }
.social-post-overlay span { color: var(--white); font-size: 13px; font-weight: 700; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--navy) 100%);
  padding: 80px clamp(24px,6%,100px) 36px;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--red-light), transparent);
  opacity: 0.6;
}
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px; max-width: 1360px; margin: 0 auto;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.85; max-width: 280px; }
.footer-logo-text { display: flex; flex-direction: column; margin-bottom: 16px; }
.footer-logo-mark { font-family: var(--f-display); font-weight: 800; font-size: 28px; color: var(--white); letter-spacing: 0.01em; }
.footer-logo-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 3px; }
.footer-col h5 {
  font-family: var(--f-head); font-size: 12px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
  position: relative; padding-left: 14px;
}
.footer-col h5::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 2px; background: var(--gold-light);
}
.footer-col a {
  display: block; color: rgba(255,255,255,0.42); font-size: 14px;
  margin-bottom: 12px; transition: color var(--t), transform var(--t);
}
.footer-col a:hover { color: var(--white); transform: translateX(4px); }
.footer-bottom {
  max-width: 1360px; margin: 28px auto 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-copy { color: rgba(255,255,255,0.28); font-size: 13px; }
.footer-socials { display: flex; gap: 12px; }

/* 3D social badges — gradient fill, inset top highlight, drop shadow,
   lift + tilt on hover for a tactile raised-button feel. */
.social-btn {
  width: 42px; height: 42px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 4px rgba(0,0,0,0.15);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.social-btn:hover {
  transform: translateY(-4px) rotate(-4deg) scale(1.06);
  box-shadow: 0 14px 26px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.social-btn.fb { background: linear-gradient(155deg, #4d92fb, #1354c9); }
.social-btn.yt { background: linear-gradient(155deg, var(--red-light), #7a0f1a); border-radius: 12px; }
.social-btn.ig { background: linear-gradient(155deg, #f9ce34, #ee2a7b 45%, #6228d7); }
.social-btn.x  { background: linear-gradient(155deg, #3a3a3a, #0a0a0a); }

/* ── SOCIAL COLUMNS — Facebook/YouTube feeds side by side on the homepage ── */
.social-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  align-items: start; padding-bottom: 60px;
}
.social-row { display: flex; flex-direction: column; align-items: center; text-align: center; }
.social-row-head {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.social-row-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--white);
  box-shadow: 0 8px 18px rgba(12,21,40,0.18);
}
.social-row-icon.fb { background: #1877F2; }
.social-row-icon.yt { background: var(--red); border-radius: 14px; }
.social-row-icon svg { display: block; }
.social-row-head h3 { font-family: var(--f-head); font-size: 15px; font-weight: 700; color: var(--dark); }
.social-row-head span { font-size: 12.5px; color: var(--muted); }
.social-row > .btn { margin-top: 18px; }

@media (max-width: 900px) {
  .social-cols { grid-template-columns: 1fr; gap: 48px; }
}

/* Floating decorative ribbons + 3D-tilted shapes behind the section —
   tuned for a light background (no blend mode, low opacity, soft blur). */
.social-section { position: relative; overflow: hidden; }
.social-section .s-inner { position: relative; z-index: 2; }

.social-ribbon {
  position: absolute; z-index: 0;
  border-radius: 50% / 35%;
  filter: blur(55px);
  opacity: 0.28;
  pointer-events: none;
}
.social-ribbon-1 {
  width: 480px; height: 140px;
  background: linear-gradient(120deg, var(--blue-light), transparent 70%);
  top: -50px; left: -120px;
  transform: rotate(-16deg);
  animation: ribbonFloat1 19s ease-in-out infinite;
}
.social-ribbon-2 {
  width: 420px; height: 120px;
  background: linear-gradient(120deg, var(--gold-light), transparent 70%);
  bottom: 10%; right: -100px;
  transform: rotate(20deg);
  animation: ribbonFloat2 23s ease-in-out infinite;
}
.social-ribbon-3 {
  width: 300px; height: 90px;
  background: linear-gradient(120deg, var(--red-light), transparent 70%);
  top: 45%; left: 6%;
  transform: rotate(-8deg);
  animation: ribbonFloat3 16s ease-in-out infinite;
}
.social-ribbon-4 {
  width: 360px; height: 100px;
  background: linear-gradient(120deg, var(--blue-light), transparent 70%);
  bottom: -60px; left: 22%;
  transform: rotate(12deg);
  animation: ribbonFloat2 21s ease-in-out infinite;
}
.social-ribbon-5 {
  width: 260px; height: 80px;
  background: linear-gradient(120deg, var(--gold-light), transparent 70%);
  top: 4%; right: 26%;
  transform: rotate(-24deg);
  animation: ribbonFloat3 18s ease-in-out infinite;
}

.social-shape {
  position: absolute; z-index: 0;
  pointer-events: none;
  border-radius: 26px;
  box-shadow: 0 30px 60px rgba(12,21,40,0.1);
}
.social-shape-1 {
  width: 130px; height: 130px;
  top: 12%; right: 9%;
  background: linear-gradient(145deg, var(--blue-soft), rgba(27,79,216,0.02));
  border: 1px solid rgba(27,79,216,0.12);
  transform: perspective(700px) rotateX(35deg) rotateY(-22deg) rotate(18deg);
  animation: shapeFloat1 14s ease-in-out infinite;
}
.social-shape-2 {
  width: 90px; height: 90px;
  bottom: 14%; left: 10%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), rgba(184,134,11,0.02));
  border: 1px solid rgba(184,134,11,0.15);
  transform: perspective(700px) rotateX(-25deg) rotateY(30deg) rotate(-14deg);
  animation: shapeFloat2 17s ease-in-out infinite;
}
.social-shape-3 {
  width: 60px; height: 60px;
  top: 30%; left: 30%;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--red-soft), rgba(192,29,46,0.02));
  border: 1px solid rgba(192,29,46,0.15);
  transform: perspective(700px) rotateX(20deg) rotateY(20deg) rotate(30deg);
  animation: shapeFloat1 12s ease-in-out infinite;
}
.social-shape-4 {
  width: 70px; height: 70px;
  bottom: 6%; right: 20%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-soft), rgba(27,79,216,0.02));
  border: 1px solid rgba(27,79,216,0.12);
  transform: perspective(700px) rotateX(-18deg) rotateY(-24deg) rotate(10deg);
  animation: shapeFloat2 20s ease-in-out infinite;
}
@keyframes shapeFloat1 {
  0%, 100% { transform: perspective(700px) rotateX(35deg) rotateY(-22deg) rotate(18deg) translateY(0); }
  50%      { transform: perspective(700px) rotateX(20deg) rotateY(-10deg) rotate(28deg) translateY(-24px); }
}
@keyframes shapeFloat2 {
  0%, 100% { transform: perspective(700px) rotateX(-25deg) rotateY(30deg) rotate(-14deg) translateY(0); }
  50%      { transform: perspective(700px) rotateX(-12deg) rotateY(18deg) rotate(-22deg) translateY(20px); }
}

.social-tri {
  position: absolute; z-index: 0; pointer-events: none;
  width: 0; height: 0;
  filter: drop-shadow(0 14px 20px rgba(12,21,40,0.08));
}
.social-tri-1 {
  top: 20%; left: 4%;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-bottom: 56px solid var(--gold-soft);
  transform: perspective(700px) rotateX(30deg) rotate(-12deg);
  animation: shapeFloat1 15s ease-in-out infinite;
}
.social-tri-2 {
  bottom: 22%; right: 6%;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-bottom: 44px solid var(--red-soft);
  transform: perspective(700px) rotateX(-28deg) rotate(20deg);
  animation: shapeFloat2 13s ease-in-out infinite;
}

.social-dot {
  position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%;
  animation: dotFloat 8s ease-in-out infinite;
}
.social-dot-1 { width: 10px; height: 10px; top: 18%; left: 44%; background: var(--gold-light); opacity: 0.5; animation-duration: 9s; }
.social-dot-2 { width: 7px;  height: 7px;  top: 66%; left: 38%; background: var(--blue-light); opacity: 0.45; animation-duration: 11s; animation-delay: 1s; }
.social-dot-3 { width: 12px; height: 12px; top: 8%;  right: 40%; background: var(--red-light); opacity: 0.35; animation-duration: 10s; animation-delay: 2s; }
.social-dot-4 { width: 6px;  height: 6px;  bottom: 10%; left: 46%; background: var(--gold-light); opacity: 0.5; animation-duration: 7.5s; animation-delay: 0.5s; }
.social-dot-5 { width: 9px;  height: 9px;  top: 52%; right: 4%; background: var(--blue-light); opacity: 0.4; animation-duration: 12s; animation-delay: 1.5s; }
.social-dot-6 { width: 8px;  height: 8px;  bottom: 30%; left: 2%; background: var(--red-light); opacity: 0.4; animation-duration: 9.5s; animation-delay: 2.5s; }
@keyframes dotFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.15); }
}

@media (max-width: 700px) {
  .social-ribbon, .social-shape, .social-tri, .social-dot { display: none; }
}

/* ── GRIDS ─────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: center; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: center; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── UTILITY ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-blue   { color: var(--blue) !important; }
.text-red    { color: var(--red) !important; }
.text-muted  { color: var(--muted) !important; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

.alert { padding: 14px 18px; border-radius: var(--r-xs); font-size: 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.alert-success { background: rgba(22,163,74,0.1); color: #15803D; border: 1px solid rgba(22,163,74,0.2); }
.alert-error   { background: rgba(220,38,38,0.1); color: #B91C1C; border: 1px solid rgba(220,38,38,0.2); }
.alert-info    { background: var(--blue-soft); color: var(--blue); border: 1px solid rgba(27,79,216,0.2); }

.chip { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--white); font-size: 13px; font-weight: 600; cursor: pointer; transition: all var(--t); }
.chip:hover, .chip.active { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes heroUp    { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeIn    { from { opacity:0; } to { opacity:1; } }
@keyframes blink     { 0%,100% { opacity:1; } 50% { opacity:0.25; } }
@keyframes spin      { to { transform:rotate(360deg); } }
@keyframes slideInR  { from { transform:translateX(100%); opacity:0; } to { transform:none; opacity:1; } }

/* ── MODAL ─────────────────────────────────────────────────── */
.modal-bg {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(12,21,40,0.7); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-bg.open { display: flex; animation: fadeIn 0.25s ease; }
.modal-box {
  background: var(--white); border-radius: 20px; padding: 44px;
  max-width: 520px; width: 100%; position: relative;
  max-height: 90svh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideInR 0.3s var(--ease);
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--muted); cursor: pointer; transition: all var(--t);
}
.modal-close:hover { background: var(--border); color: var(--dark); }
.modal-icon-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
  box-shadow: 0 10px 24px rgba(184,134,11,0.35);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4        { grid-template-columns: repeat(2,1fr); }
  .stats-row     { grid-template-columns: repeat(2,1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 40px; }
  .social-feed-grid { grid-template-columns: repeat(3,1fr); }
  .stream-layout { grid-template-columns: 1fr; }
  .stream-sidebar { position: static; }
}

@media (max-width: 900px) {
  .grid-2-3, .grid-3-2 { grid-template-columns: 1fr; gap: 40px; }
  .give-layout { grid-template-columns: 1fr; }
  .lineage-row  { flex-direction: column; }
  .lineage-card { width: 100%; }
  .lineage-connector { width: auto; height: 40px; }
  .lineage-connector-line { width: 1.5px; height: 100%; background: linear-gradient(180deg, rgba(184,134,11,0.1), var(--gold-light), rgba(184,134,11,0.1)); }
  .lineage-connector-dot { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(90deg); margin-top: 0; }
  .stream-grid  { grid-template-columns: repeat(2,1fr); }
  .quick-bar-inner { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .s { padding: 72px 24px; }
  .s-sm { padding: 48px 24px; }
  .quick-bar-inner { gap: 0; flex-direction: column; align-items: stretch; }
  .qb-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 0; }
  .qb-live { padding: 14px 0; }
  .social-feed-grid { grid-template-columns: repeat(2,1fr); }
  .amount-grid { grid-template-columns: repeat(2,1fr); }
  .dl-row { flex-wrap: wrap; }
  .dl-right { width: 100%; justify-content: space-between; padding-left: 72px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(22px,7vw,32px); }
  .stats-row { grid-template-columns: 1fr; }
  .slider-arrows { display: none; }
  .newsletter-form input { width: 100%; }
  .newsletter-inner { flex-direction: column; }
  .newsletter-fine { text-align: center; }
}
