/* =====================================================================
   FREEDOM WORSHIP GLOBAL · JOEL MARTINEZ
   Shared design system — LIGHT / MODERN edition.
   Bright white canvas · cool neutral ink · refined gold accent.
   Airy, contemporary and professional — minimal washes, crisp surfaces,
   snappy motion. No heavy gradients, no globe.
   ===================================================================== */

:root {
  /* ---- Palette (bright + cool neutrals, gold accent) ---- */
  --bg:           #FFFFFF;   /* pure white canvas               */
  --bg-2:         #F4F6F9;   /* alt section / footer wash (cool) */
  --surface:      #FFFFFF;   /* cards, panels                   */
  --surface-2:    #F8FAFC;   /* subtle raised surface           */

  --ink:          #2B313C;   /* body text (cool slate)          */
  --heading:      #0F1320;   /* headings / strong text          */
  --ink-dim:      #5B6573;   /* secondary text                  */
  --ink-faint:    #8B95A5;   /* tertiary / captions             */

  --gold:         #9A7414;   /* refined gold — text-safe on light */
  --gold-bright:  #E7C45F;   /* highlight gold                  */
  --gold-deep:    #6E520F;   /* deep gold                       */
  --gold-grad:    linear-gradient(135deg, #F3D77F 0%, #D4A93B 52%, #A87C18 100%);

  --line:         rgba(15, 19, 32, 0.12);
  --line-soft:    rgba(15, 19, 32, 0.07);

  /* Aliases kept so legacy rules resolve sensibly on light */
  --black:        #0F1320;   /* deepest ink / text-on-gold      */
  --black-soft:   var(--bg-2);
  --panel:        var(--surface);
  --panel-2:      var(--surface);
  --white:        var(--heading); /* legacy "strong" colour -> dark ink */

  /* ---- Type ---- */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Rhythm ---- */
  --container: 1240px;
  --gutter: clamp(1.15rem, 4vw, 4rem);
  --section-y: clamp(4.25rem, 9vw, 9rem);
  --radius: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Snappier, more responsive motion (was up to .8s) */
  --dur-fast: .18s;
  --dur:      .28s;
  --dur-rev:  .5s;
  --shadow:     0 24px 56px -30px rgba(15, 19, 32, 0.22);
  --shadow-sm:  0 10px 28px -18px rgba(15, 19, 32, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Atmospheric base ---------- */
body::before {
  /* fixed, non-scrolling cool light wash for depth (barely there) */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(212, 169, 59, 0.05), transparent 58%),
    radial-gradient(90% 60% at 100% 110%, rgba(15, 19, 32, 0.03), transparent 55%);
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; z-index: 2; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-2); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--heading); }
.display { font-size: clamp(2.6rem, 7vw, 5.75rem); font-weight: 600; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { color: var(--ink-dim); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--ink); line-height: 1.6; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold-grad); }

.gold-text {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 55%, #B58A1E 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section-head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold-grad);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--bg); color: #2A1F05;
  box-shadow: 0 8px 22px -12px rgba(168, 124, 24, 0.6);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(168, 124, 24, 0.6); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--heading);
  border-color: var(--line); box-shadow: none;
}
.btn--ghost:hover { background: rgba(154, 116, 20, 0.07); border-color: var(--gold); color: var(--gold-deep); box-shadow: none; }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }

.link-gold {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-weight: 700; letter-spacing: 0.02em;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s, color .3s;
}
.link-gold:hover { gap: 0.85rem; border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, padding .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 30px -22px rgba(54, 42, 16, 0.5);
  padding-block: 0.5rem;
}

/* Brand lockup: gold medallion + wordmark */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--heading); }
.brand__mark {
  height: 48px; width: 48px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1px rgba(140, 106, 22, 0.45), 0 6px 16px -6px rgba(27, 24, 16, 0.45);
  transition: height .4s var(--ease), width .4s var(--ease);
}
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word strong { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; letter-spacing: 0.01em; color: var(--heading); }
.brand__word em { font-style: normal; font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.site-header.scrolled .brand__mark { height: 42px; width: 42px; }
.brand img:not(.brand__mark), .brand svg { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav__links a {
  font-size: 0.86rem; font-weight: 600; color: var(--ink-dim); letter-spacing: 0.02em;
  position: relative; padding-block: 0.4rem; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px;
  background: var(--gold-grad); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--heading); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

/* Language selector */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); border-radius: 999px;
  padding: 0.5rem 0.9rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  transition: border-color .3s, background .3s;
}
.lang__btn:hover { border-color: var(--gold); background: rgba(140, 106, 22, 0.07); }
.lang__btn svg { width: 16px; height: 16px; color: var(--gold); }
.lang__btn .chev { width: 12px; height: 12px; transition: transform .3s var(--ease); color: var(--ink-dim); }
.lang[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 0.6rem);
  min-width: 190px; padding: 0.5rem;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.lang[aria-expanded="true"] .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button {
  display: flex; align-items: center; gap: 0.7rem; width: 100%;
  background: transparent; border: none; color: var(--ink-dim);
  padding: 0.6rem 0.7rem; border-radius: 9px; font-size: 0.9rem; text-align: left;
  transition: background .2s, color .2s;
}
.lang__menu button:hover { background: rgba(140, 106, 22, 0.08); color: var(--heading); }
.lang__menu button[aria-current="true"] { color: var(--gold); }
.lang__menu button .flag { font-size: 1.1rem; line-height: 1; }
.lang__menu button .tick { margin-left: auto; color: var(--gold); opacity: 0; }
.lang__menu button[aria-current="true"] .tick { opacity: 1; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: transparent; border: 0; color: var(--heading); width: 44px; height: 44px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 1.4rem; padding: 6rem 1.75rem calc(2rem + env(safe-area-inset-bottom));
    padding-right: max(1.75rem, env(safe-area-inset-right));
    background: var(--surface); border-left: 1px solid var(--line-soft);
    box-shadow: -20px 0 50px -30px rgba(54, 42, 16, 0.5);
    transform: translateX(100%); transition: transform .42s var(--ease);
    overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav__links a { padding: 0.75rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .lang__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 0.5rem; border-color: var(--line-soft); }
  .lang[aria-expanded="false"] .lang__menu { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (shared) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 5.5rem; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.55) 62%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }

/* Animated cinematic gradient field (light + airy) */
.cinematic {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(58% 75% at 16% 14%, rgba(231, 196, 95, 0.16), transparent 60%),
    radial-gradient(52% 66% at 86% 24%, rgba(212, 169, 59, 0.12), transparent 60%),
    radial-gradient(95% 90% at 50% 120%, rgba(244, 246, 249, 0.9), transparent 55%),
    var(--bg);
}
.cinematic::before, .cinematic::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.35; will-change: transform;
}
.cinematic::before {
  width: 44vw; height: 44vw; left: -8vw; top: -10vw;
  background: radial-gradient(circle, rgba(231, 196, 95, 0.42), transparent 65%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.cinematic::after {
  width: 38vw; height: 38vw; right: -6vw; bottom: -12vw;
  background: radial-gradient(circle, rgba(120, 150, 200, 0.20), transparent 65%);
  animation: drift2 32s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(12vw, 10vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-10vw, -8vh, 0) scale(1.2); } }

/* ---------- Centered modern hero (FWG) ---------- */
.hero--center { text-align: center; }
.hero--center .hero__inner { max-width: 60rem; margin-inline: auto; }
.hero--center .eyebrow { justify-content: center; }
.hero--center .lead { margin-inline: auto; }
.hero--center .hero__cta { justify-content: center; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 1.6rem; border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: linear-gradient(135deg, rgba(212, 169, 59, 0.55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur);
}
.card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(154, 116, 20, 0.10); border: 1px solid var(--line); color: var(--gold);
  margin-bottom: 1.1rem;
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--heading); margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; }

/* Split feature layout */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* Media frame (portrait / video placeholders) */
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
}
.frame--wide { aspect-ratio: 16 / 9; }
.frame__portrait {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 25%, rgba(230, 199, 102, 0.4), transparent 60%),
    linear-gradient(180deg, #FAFAF8, #EDECE7);
  display: grid; place-items: center;
}
.frame__portrait .mono {
  font-family: var(--serif); font-size: clamp(3rem, 9vw, 6rem); font-weight: 600;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.frame__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.3rem;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.96), transparent);
  font-size: 0.84rem; color: var(--ink-dim);
}
.frame__cap strong { color: var(--heading); display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }

/* Responsive video embed */
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); background: #0F1320; box-shadow: var(--shadow-sm); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 1rem; text-align: center; padding: 2rem;
  cursor: pointer;
  background: radial-gradient(70% 70% at 50% 38%, rgba(231, 196, 95, 0.28), transparent), linear-gradient(180deg, #FAFBFC, #E8ECF1);
  transition: filter var(--dur) var(--ease);
}
.embed__placeholder:hover { filter: brightness(1.03); }
.play-btn {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #2A1F05; border: 0;
  box-shadow: 0 10px 26px -8px rgba(168, 124, 24, 0.65);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.embed__placeholder:hover .play-btn { transform: scale(1.08); box-shadow: 0 16px 34px -10px rgba(168, 124, 24, 0.7); }
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 28px; height: 28px; margin-left: 4px; }

/* ---------- Live status pill ---------- */
.live-pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(140, 106, 22, 0.12); border: 1px solid var(--line); color: var(--gold-deep);
}
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229,72,77,0.7); animation: pulse 1.8s infinite; }
.live-pill.is-off .dot { background: var(--ink-faint); animation: none; box-shadow: none; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(229,72,77,0.5);} 70%{box-shadow:0 0 0 10px rgba(229,72,77,0);} 100%{box-shadow:0 0 0 0 rgba(229,72,77,0);} }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: 1.6rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }
.stat__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-dim); margin-top: 0.35rem; }

/* ---------- Events ---------- */
.event {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.4rem 1.6rem; border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.event:hover { border-color: var(--line); transform: translateX(4px); box-shadow: var(--shadow); }
.event__date { text-align: center; min-width: 64px; }
.event__date .d { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--gold); line-height: 1; }
.event__date .m { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-dim); }
.event__body h3 { font-size: 1.15rem; }
.event__body p { font-size: 0.9rem; margin-top: 0.2rem; }
.event__meta { font-size: 0.82rem; color: var(--ink-dim); white-space: nowrap; }
@media (max-width: 640px) { .event { grid-template-columns: auto 1fr; gap: 1rem; } .event__meta { grid-column: 2; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; font: inherit; color: var(--heading);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 3px rgba(140, 106, 22, 0.15);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238C6A16' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.form__note { font-size: 0.82rem; color: var(--ink-faint); }
.form__status { font-size: 0.92rem; padding: 0.9rem 1.1rem; border-radius: 10px; display: none; }
.form__status.is-ok { display: block; background: rgba(140, 106, 22, 0.12); border: 1px solid var(--line); color: var(--gold-deep); }
.form__status.is-err { display: block; background: rgba(229,72,77,0.1); border: 1px solid rgba(229,72,77,0.3); color: #b3261e; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-panel {
  padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft); box-shadow: var(--shadow);
}

/* ---------- Give / pay options ---------- */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.pay {
  display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface-2);
  font-weight: 700; color: var(--ink); transition: border-color .3s, transform .3s var(--ease), background .3s, color .3s;
}
.pay:hover { border-color: var(--gold); transform: translateY(-3px); background: #fff; color: var(--gold-deep); box-shadow: var(--shadow-sm); }
.pay svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.amount-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.25rem 0; }
.amount {
  border: 1px solid var(--line-soft); background: var(--surface-2); color: var(--ink);
  border-radius: 999px; padding: 0.6rem 1.3rem; font-weight: 700; transition: all .25s;
}
.amount:hover, .amount[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-grad); color: #2A1F05; }

/* ---------- Ministries / chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { font-size: 0.8rem; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-deep); background: rgba(140, 106, 22, 0.07); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 0.85rem; }
.gallery .tile { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: linear-gradient(135deg, #FAFAF8, #ECEBE6); display: grid; place-items: center; color: var(--ink-faint); }
.gallery .tile svg { width: 30px; height: 30px; opacity: 0.6; }
.gallery .tile.tall { grid-row: span 2; }
.gallery .tile.wide { grid-column: span 2; }
.gallery .tile::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); opacity: 0; transition: opacity .4s; mix-blend-mode: multiply; }
.gallery .tile:hover::after { opacity: 0.18; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2,1fr); } }

/* ---------- Testimonials ---------- */
.quote { padding: 2rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); position: relative; }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--gold); opacity: 0.35; position: absolute; top: 0.4rem; left: 1.1rem; }
.quote p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink); position: relative; }
.quote footer { margin-top: 1.2rem; font-size: 0.85rem; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.05em; }

/* ---------- App / coming soon ---------- */
.app-badges { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.app-badge {
  display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.85rem 1.4rem;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink-dim);
  box-shadow: var(--shadow-sm);
}
.app-badge svg { width: 26px; height: 26px; color: var(--gold); }
.app-badge small { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.app-badge strong { color: var(--heading); font-weight: 700; }

/* ---------- WhatsApp floating assistant ---------- */
.wa { position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90; }
.wa { right: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-right)); bottom: max(clamp(1rem, 3vw, 2rem), env(safe-area-inset-bottom)); }
.wa__fab {
  width: 60px; height: 60px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: linear-gradient(145deg, #25D366, #128C7E); color: #fff;
  box-shadow: 0 14px 30px -8px rgba(18,140,126,0.6);
  transition: transform .3s var(--ease);
}
.wa__fab:hover { transform: scale(1.08) rotate(-4deg); }
.wa__fab svg { width: 32px; height: 32px; }
.wa__panel {
  position: absolute; right: 0; bottom: 74px; width: min(320px, 80vw);
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.97); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.wa.open .wa__panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa__header { background: linear-gradient(135deg, #128C7E, #075E54); padding: 1rem 1.2rem; color: #fff; }
.wa__header strong { font-family: var(--serif); font-size: 1.05rem; display: block; }
.wa__header span { font-size: 0.8rem; opacity: 0.85; }
.wa__menu { padding: 0.6rem; display: grid; gap: 2px; }
.wa__menu a { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.8rem; border-radius: 10px; color: var(--ink); font-size: 0.92rem; font-weight: 600; transition: background .2s, color .2s; }
.wa__menu a:hover { background: rgba(37,211,102,0.12); color: var(--heading); }
.wa__menu a svg { width: 20px; height: 20px; color: #128C7E; flex: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: var(--bg-2); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--sans); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-deep); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { color: var(--ink-dim); font-size: 0.92rem; transition: color .25s; }
.site-footer a:hover { color: var(--gold-deep); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand__mark { height: 60px; width: 60px; }
.footer-brand .brand__word strong { font-size: 1.2rem; }
.footer-brand img:not(.brand__mark), .footer-brand svg { height: 46px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.92rem; max-width: 32ch; }
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.socials a {
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-dim); background: var(--surface);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.socials a:hover { transform: translateY(-3px); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }
.socials svg { width: 20px; height: 20px; }
/* Per-platform brand colours on hover (matched via aria-label) */
.socials a[aria-label="YouTube"]:hover   { background: #FF0000; }
.socials a[aria-label="Facebook"]:hover  { background: #1877F2; }
.socials a[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.socials a[aria-label="TikTok"]:hover    { background: #111111; }
.socials a[aria-label="WhatsApp"]:hover  { background: #25D366; color: #08130c; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--dur-rev) var(--ease), transform var(--dur-rev) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .05s; }
.reveal[data-delay="2"] { transition-delay: .1s; }
.reveal[data-delay="3"] { transition-delay: .15s; }
.reveal[data-delay="4"] { transition-delay: .2s; }

/* ---------- Cross-site banner ---------- */
.crossbanner {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem;
  padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(230, 199, 102, 0.30), transparent 60%),
    linear-gradient(180deg, #FFFFFF, var(--surface-2));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
@media (max-width: 700px) { .crossbanner { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.muted { color: var(--ink-faint); }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--gold); color: #fff; padding: 0.7rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Fine mobile polish ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 5rem; min-height: 92svh; }
  .hero__cta { gap: 0.6rem; }
  .hero__cta .btn { flex: 1 1 calc(50% - 0.6rem); }
  .hero__cta .btn--lg { padding: 0.95rem 1.2rem; font-size: 0.92rem; }
  .brand__word strong { font-size: 0.98rem; }
  .brand__word em { letter-spacing: 0.34em; }
  .section-head { margin-bottom: 2rem; }
}
@media (max-width: 380px) {
  .brand__word em { display: none; }
}
