/* =========================================================================
   PJFM PARTNER HUB — "THE MONEY BELONGS TO THE VISION"
   Visual system: warm black · gold · ivory · champagne
   Type: Cinzel (monumental) · Cormorant Garamond (editorial) · Jost (UI)
   ========================================================================= */

/* ----------------------------- TOKENS ----------------------------------- */
:root {
  /* Surfaces — warm blacks */
  --ink:        #0a0908;
  --ink-1:      #100e0b;
  --ink-2:      #16130f;
  --ink-3:      #1e1a14;
  --line:       rgba(201,161,74,0.22);
  --line-soft:  rgba(245,240,230,0.08);

  /* Gold family */
  --gold:        #c8a14a;
  --gold-bright: #e7c977;
  --gold-pale:   #f6edc3;
  --gold-deep:   #8c6d28;
  --gold-grad:   linear-gradient(135deg,#8c6d28 0%,#c8a14a 22%,#f6edc3 50%,#e7c977 64%,#9a7a2e 100%);
  --gold-grad-v: linear-gradient(180deg,#e7c977 0%,#c8a14a 55%,#8c6d28 100%);

  /* Ivory / champagne — light text & light surfaces */
  --ivory:        #f5f0e6;
  --ivory-dim:    #e7e0d2;
  --champagne:    #d9c7a1;
  --champagne-2:  #c4b088;
  --champagne-dk: #9a8a68;

  /* Text on dark */
  --tx:        #ece6d8;
  --tx-soft:   #b9b09c;
  --tx-mute:   #807762;

  /* Layout */
  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 64px);

  /* Type */
  --f-display: "Cinzel", serif;
  --f-serif:   "Cormorant Garamond", Georgia, serif;
  --f-ui:      "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------------------------- RESET ------------------------------------ */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--tx);
  font-family: var(--f-ui);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }

/* Photos: fill their frame, cropped, with a warm cinematic grade. */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo { filter: saturate(0.74) contrast(1.07) brightness(0.84) sepia(0.14); }
.rep .photo { filter: saturate(0.8) contrast(1.05) brightness(0.9) sepia(0.1); }
/* Real Prophet portrait stays vivid — keep the red robe true */
.vision-portrait .photo { filter: contrast(1.05) brightness(0.98) saturate(1.04); }

/* Brand logo (real mark) in nav + footer — hard-capped so it can't balloon */
.brand-logo { display: block; width: auto; height: 38px; max-height: 38px; transition: height 0.45s var(--ease); }
.nav .brand-logo { height: 38px; max-height: 38px; }
.nav.solid .brand-logo { height: 34px; max-height: 34px; }
.foot .brand-logo { height: 50px; max-height: 50px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(201,161,74,0.3); color: #fff; }

/* Film-grain + vignette atmosphere */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(0,0,0,0.55) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  background-size: cover, 180px 180px;
  opacity: 0.5;
  mix-blend-mode: overlay;
}

/* --------------------------- UTILITIES ---------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.eyebrow {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow.center::after {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.center { justify-content: center; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; }

/* Section scaffolding */
section { position: relative; }
.sec-pad { padding-block: clamp(80px, 11vw, 168px); }

/* Reveal on scroll — hidden state only applies once JS is confirmed (.js on <html>)
   so the page is fully readable even if scripts fail or are slow to load. */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }
.js .reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 17px 34px; border: 0; position: relative;
  color: var(--ink); background: var(--gold-grad);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 10px 40px -12px rgba(201,161,74,0.55);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(231,201,119,0.7); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 16px 32px; color: var(--gold);
  background: transparent; border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(201,161,74,0.06); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(10,9,8,0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-block: 15px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .crest {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  color: var(--gold); flex: none;
  background: radial-gradient(circle at 30% 25%, rgba(231,201,119,0.18), transparent 70%);
}
.brand .bt { line-height: 1.1; }
.brand .bt .b1 { font-family: var(--f-display); font-weight: 700; letter-spacing: 0.28em; font-size: 14px; color: var(--ivory); }
.brand .bt .b2 { font-family: var(--f-ui); font-weight: 300; letter-spacing: 0.32em; font-size: 9.5px; color: var(--gold); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--f-ui); font-weight: 400; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-soft);
  position: relative; padding: 4px 0; transition: color 0.35s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }
.nav .btn { padding: 12px 26px; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--gold); }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 40px; height: 40px; }
  .nav .btn.nav-cta { display: none; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .photo { width: 100%; height: 100%; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.35) 38%, rgba(10,9,8,0.92) 100%),
    radial-gradient(80% 60% at 50% 40%, transparent 40%, rgba(10,9,8,0.6) 100%);
}
.hero-inner { width: 100%; padding-block: 140px 90px; }
.hero .scripture {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(15px,1.5vw,19px);
  color: var(--champagne); max-width: 540px; margin: 22px 0 0; line-height: 1.6;
}
.hero .scripture cite { display: block; font-style: normal; font-family: var(--f-ui);
  letter-spacing: 0.2em; font-size: 11px; text-transform: uppercase; color: var(--gold); margin-top: 12px; }
.slogan {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(40px, 8.2vw, 124px); line-height: 0.96;
  letter-spacing: -0.01em; margin: 26px 0 0; text-transform: uppercase;
}
.slogan .l { display: block; }
.slogan .accent { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 40px; }

/* ---- Quick Give panel (hero) ---- */
.give {
  margin-top: 38px; max-width: 720px;
  background: linear-gradient(180deg, rgba(20,17,12,0.82), rgba(12,10,8,0.78));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px) saturate(1.1);
  padding: clamp(20px,2.6vw,30px);
  box-shadow: 0 28px 70px -30px rgba(0,0,0,0.8);
}
.give-head { font-family: var(--f-serif); font-weight: 500; font-size: clamp(20px,2.3vw,28px); color: var(--ivory); letter-spacing: 0.01em; }
.give-amts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.amt {
  font-family: var(--f-ui); font-weight: 500; font-size: 13px; letter-spacing: 0.08em;
  color: var(--champagne); background: transparent; border: 1px solid var(--line);
  padding: 13px 8px; border-radius: 999px; transition: all 0.3s var(--ease); white-space: nowrap;
}
.amt:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(201,161,74,0.06); }
.amt.active { background: var(--gold-grad); color: var(--ink); border-color: transparent; font-weight: 600; box-shadow: 0 8px 24px -10px rgba(231,201,119,0.6); }
.amt.custom { letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; }

.give-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.give-field { display: flex; align-items: stretch; border: 1px solid var(--line); background: rgba(0,0,0,0.25); overflow: hidden; }
.give-field .cur { display: grid; place-items: center; padding: 0 16px; font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; color: var(--ink); background: var(--gold-grad); }
.give-field input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ivory); font-family: var(--f-ui); font-size: 15px; padding: 14px 16px; outline: none; }
.give-field input::placeholder { color: var(--tx-mute); }
.give-field:focus-within { border-color: var(--gold); }

.give-select { position: relative; }
.give-select select {
  width: 100%; height: 100%; appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); background: rgba(0,0,0,0.25); color: var(--ivory);
  font-family: var(--f-ui); font-size: 15px; padding: 14px 40px 14px 16px; outline: none; cursor: pointer;
}
.give-select select:invalid { color: var(--tx-mute); }
.give-select select:focus { border-color: var(--gold); }
.give-select option { background: var(--ink-2); color: var(--ivory); }
.give-caret { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; font-size: 12px; }

.give-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.rates-link { font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(231,201,119,0.45); transition: color 0.3s; }
.rates-link:hover { color: var(--gold-pale); }
.give-btn {
  font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); background: var(--gold-grad); border: 0; padding: 15px 40px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 34px -12px rgba(231,201,119,0.6); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.give-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(231,201,119,0.75); }
.give-btn:active { transform: translateY(0); }
.give-btn .arr { transition: transform 0.35s var(--ease); }
.give-btn:hover .arr { transform: translateX(4px); }

.hero-sublinks { margin-top: 22px; display: flex; align-items: center; gap: 14px; font-family: var(--f-ui); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-sublinks a { color: var(--tx-soft); position: relative; transition: color 0.3s; }
.hero-sublinks a:hover { color: var(--gold-bright); }
.hero-sublinks .dot { color: var(--tx-mute); }

@media (max-width: 560px) {
  .give-amts { grid-template-columns: repeat(2, 1fr); }
  .give-row { grid-template-columns: 1fr; }
  .give-foot { justify-content: stretch; }
  .give-btn { flex: 1; justify-content: center; }
}

.scroll-cue {
  position: absolute; bottom: 26px; right: 40px; pointer-events: none; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-ui); font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--tx-mute);
}
.scroll-cue .bar { width: 1px; height: 46px; background: linear-gradient(180deg, var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(0.4); opacity:0.5;} 50%{ transform: scaleY(1); opacity:1;} }

/* =========================================================================
   VISION / MESSAGE
   ========================================================================= */
.vision { background: var(--ink-1); }
.vision-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px,6vw,90px); align-items: stretch; }
.vision-portrait { position: relative; }
.vision-portrait .photo { width: 100%; height: 100%; min-height: 560px; }
.vision-portrait .frame { position: absolute; inset: -14px; border: 1px solid var(--line); pointer-events: none; }
.vision-portrait .tag {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: linear-gradient(0deg, rgba(10,9,8,0.92), transparent);
  padding: 30px 18px 14px; font-family: var(--f-ui);
}
.vision-portrait .tag .n { font-family: var(--f-display); font-weight: 700; color: var(--ivory); letter-spacing: 0.12em; font-size: 15px; }
.vision-portrait .tag .r { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.section-head h2 {
  font-family: var(--f-serif); font-weight: 500;
  font-size: clamp(32px, 4.6vw, 64px); line-height: 1.04; margin: 18px 0 0; color: var(--ivory);
  letter-spacing: -0.01em;
}
.section-head h2 em { font-style: italic; color: var(--champagne); }
.lead { font-family: var(--f-serif); font-size: clamp(18px,2vw,24px); line-height: 1.55; color: var(--ivory-dim); font-weight: 400; }
.vision-grid p { color: var(--tx-soft); max-width: 46ch; }
.signature { margin-top: 28px; }
.signature .sn { font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--gold-bright); }
.signature .sr { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--tx-mute); margin-top: 2px; }
@media (max-width: 860px) { .vision-grid { grid-template-columns: 1fr; } .vision-portrait .photo { height: auto; aspect-ratio: 4/5; min-height: 0; } }

/* =========================================================================
   IMPACT COUNTERS
   ========================================================================= */
.impact { background: var(--ink); border-block: 1px solid var(--line-soft); }
.impact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-soft); }
.stat { background: var(--ink); padding: clamp(28px,4vw,52px) clamp(18px,3vw,40px); text-align: center; }
.stat .num { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px,4.6vw,62px); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num .suf { font-size: 0.6em; }
.stat .lbl { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tx-soft); margin-top: 14px; }
@media (max-width: 760px) { .impact-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .scroll-cue { display: none; } }

/* =========================================================================
   GLOBAL REACH MAP
   ========================================================================= */
.reach { background: radial-gradient(120% 120% at 50% -10%, var(--ink-2), var(--ink) 60%); }
.reach-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px,6vw,72px); }
.map-shell { position: relative; }
.map-wrap {
  position: relative; border: 1px solid var(--line); background: rgba(0,0,0,0.35);
  padding: clamp(12px,2vw,26px); overflow: hidden;
}
.map-wrap::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(70% 70% at 50% 50%, transparent 60%, rgba(10,9,8,0.7) 100%);
  z-index: 3;
}
#worldMap { width: 100%; height: auto; display: block; }
#worldMap path.land { fill: rgba(201,161,74,0.07); stroke: rgba(201,161,74,0.18); stroke-width: 0.4; transition: fill 0.4s; }
.pin-dot { fill: var(--gold-bright); filter: drop-shadow(0 0 6px rgba(231,201,119,0.9)); cursor: pointer; }
.pin-ring { fill: none; stroke: var(--gold-bright); transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0%{ r:3; opacity:0.9;} 100%{ r:18; opacity:0;} }
.map-tip {
  position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%,-130%);
  background: rgba(16,14,11,0.96); border: 1px solid var(--line); padding: 10px 14px;
  opacity: 0; transition: opacity 0.25s; white-space: nowrap;
}
.map-tip.show { opacity: 1; }
.map-tip .c { font-family: var(--f-display); font-weight: 600; color: var(--ivory); font-size: 14px; letter-spacing: 0.08em; }
.map-tip .v { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.reach-legend { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 36px; }
.reach-legend .li { display: flex; align-items: baseline; gap: 12px; }
.reach-legend .li b { font-family: var(--f-display); font-size: 28px; color: var(--gold-bright); font-weight: 700; }
.reach-legend .li span { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-soft); }

/* =========================================================================
   THE ANGELS
   ========================================================================= */
.angels { background: var(--ink-1); }
.angels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(30px,5vw,56px); }
.angels-head h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(32px,4.6vw,60px); line-height: 1.04; color: var(--ivory); margin: 16px 0 0; max-width: 16ch; }

.angels-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(24px,3vw,52px); align-items: start; }
.angel-rail { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); position: sticky; top: 96px; }
.angel-tab {
  display: flex; align-items: center; gap: 16px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line-soft);
  padding: 18px 4px; color: var(--tx-soft); width: 100%;
  transition: color 0.35s var(--ease), padding 0.35s var(--ease);
}
.angel-tab .ix { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.12em; color: var(--tx-mute); width: 28px; flex: none; transition: color 0.35s; }
.angel-tab .nm { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; flex: 1; }
.angel-tab .dot { width: 6px; height: 6px; border-radius: 50%; background: transparent; flex: none; transition: background 0.35s; }
.angel-tab:hover { color: var(--ivory); padding-left: 10px; }
.angel-tab.active { color: var(--gold-bright); }
.angel-tab.active .ix { color: var(--gold); }
.angel-tab.active .dot { background: var(--gold-bright); box-shadow: 0 0 10px var(--gold-bright); }

.angel-panel { display: none; }
.angel-panel.active { display: block; animation: fadePanel 0.6s var(--ease); }
@keyframes fadePanel { from { opacity: 0; transform: translateY(18px);} to { opacity:1; transform:none; } }
.panel-obj-eyebrow { display: flex; align-items: center; gap: 14px; }
.panel-tier { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.angel-panel h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px,5vw,68px); line-height: 0.98; margin: 10px 0 0;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-transform: uppercase; }
.angel-panel .obj { font-family: var(--f-serif); font-size: clamp(19px,2.1vw,26px); color: var(--ivory-dim); font-weight: 400; max-width: 60ch; margin: 20px 0 0; line-height: 1.45; }

.panel-gallery { display: grid; gap: 12px; margin-top: 34px; }
.panel-gallery.g3 { grid-template-columns: 1.4fr 1fr 1fr; }
.panel-gallery.g2 { grid-template-columns: 1fr 1fr; }
.panel-gallery .photo { width: 100%; height: 100%; min-height: 180px; }
.panel-gallery .tall { grid-row: span 2; }

.feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px,3vw,40px); margin-top: 40px; align-items: start; }
@media (max-width: 720px){ .feature-grid { grid-template-columns: 1fr; } }

/* stat chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px 10px; }
.chip { border: 1px solid var(--line); padding: 14px 18px; min-width: 120px; }
.chip b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--gold-bright); line-height: 1; }
.chip span { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-soft); margin-top: 8px; display: block; }

/* budget transparency card */
.budget {
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(201,161,74,0.05), transparent);
  padding: clamp(22px,3vw,32px);
}
.budget .bh { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; }
.budget .bh .t { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--tx-soft); }
.budget .bh .v { font-family: var(--f-display); font-weight: 700; font-size: 24px; color: var(--gold-bright); }
.budget-row { margin-top: 18px; }
.budget-row .l { display: flex; justify-content: space-between; font-size: 13px; color: var(--tx-soft); margin-bottom: 7px; }
.budget-row .l span:last-child { color: var(--ivory-dim); }
.budget-row .track { height: 5px; background: rgba(245,240,230,0.07); overflow: hidden; }
.budget-row .fill { height: 100%; width: 0; background: var(--gold-grad); transition: width 1.1s var(--ease); }
.budget .note { font-family: var(--f-ui); font-size: 11px; color: var(--tx-mute); margin-top: 18px; letter-spacing: 0.04em; }

/* live healing counter */
.healing-counter { border: 1px solid var(--line); background: radial-gradient(110% 130% at 50% 0%, rgba(201,161,74,0.12), transparent 65%); padding: clamp(26px,4vw,44px); text-align: center; }
.healing-counter .live { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.healing-counter .live .led { width: 8px; height: 8px; border-radius: 50%; background: #5fd07a; box-shadow: 0 0 10px #5fd07a; animation: blink 1.8s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.25;} }
.healing-counter .big { font-family: var(--f-display); font-weight: 800; font-size: clamp(48px,8vw,92px); line-height: 1; margin-top: 14px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.healing-counter .cap { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--champagne); margin-top: 8px; }
.healing-counter .upd { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-mute); margin-top: 18px; }

/* testimony / quote */
.testi { border-left: 1px solid var(--gold); padding-left: 24px; }
.testi blockquote { font-family: var(--f-serif); font-style: italic; font-size: clamp(20px,2.4vw,28px); line-height: 1.4; color: var(--ivory); margin: 0; }
.testi .who { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 16px; }

/* carousel (Agape) */
.carousel { position: relative; margin-top: 6px; }
.carousel-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card { flex: 0 0 clamp(240px, 30%, 320px); scroll-snap-align: start; }
.carousel-card .photo { width: 100%; height: 300px; }
.carousel-card .cc { font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-soft); margin-top: 12px; }
.carousel-nav { display: flex; gap: 10px; margin-top: 18px; }
.carousel-nav button { width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; color: var(--gold); display: grid; place-items: center; transition: all 0.3s var(--ease); }
.carousel-nav button:hover { border-color: var(--gold); background: rgba(201,161,74,0.08); color: var(--gold-bright); }

/* logos strip (media) */
.logo-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: 14px; }
.logo-strip .lg { background: var(--ink-1); aspect-ratio: 16/7; display: grid; place-items: center; padding: 18px;
  font-family: var(--f-display); font-weight: 600; letter-spacing: 0.16em; color: var(--tx-mute); font-size: 13px; text-align: center; transition: color 0.4s, background 0.4s; }
.logo-strip .lg:hover { color: var(--gold-bright); background: var(--ink-2); }

/* SKY youth treatment override */
.angel-panel[data-sky="1"].active { --gold-grad: linear-gradient(120deg,#ff5e3a,#ff2d75 40%,#7b2dff 75%,#21d4fd); }
.angel-panel[data-sky="1"] .panel-tier { color: #ff5e8a; }
.angel-panel[data-sky="1"] .obj { color: #f3eaff; }
.sky-banner { margin-top: 30px; border: 1px solid rgba(255,94,138,0.4); background: linear-gradient(120deg, rgba(123,45,255,0.16), rgba(255,45,117,0.12)); padding: clamp(20px,3vw,30px); }
.sky-banner .k { font-family: var(--f-ui); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #ff8fb0; }
.sky-banner p { color: #efe6ff; margin: 8px 0 0; }

/* mobile angels */
@media (max-width: 860px) {
  .angels-layout { grid-template-columns: 1fr; }
  .angel-rail { position: static; flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line-soft); scrollbar-width: none; }
  .angel-rail::-webkit-scrollbar { display: none; }
  .angel-tab { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--line-soft); padding: 14px 16px; }
  .angel-tab .ix, .angel-tab .dot { display: none; }
  .panel-gallery.g3 { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   REPRESENTATIVES
   ========================================================================= */
.reps { background: var(--ink); }
.reps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px,1fr)); gap: 20px; margin-top: clamp(36px,5vw,56px); }
.rep {
  border: 1px solid var(--line-soft); background: var(--ink-1); padding: 0; overflow: hidden;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rep:hover { border-color: var(--line); transform: translateY(-4px); }
.rep .photo { width: 100%; height: 248px; }
.rep .body { padding: 22px; }
.rep .region { font-family: var(--f-ui); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.rep .name { font-family: var(--f-display); font-weight: 700; font-size: 19px; color: var(--ivory); margin-top: 8px; letter-spacing: 0.04em; }
.rep .role { font-size: 13px; color: var(--tx-soft); margin-top: 3px; }
.rep .contact { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.rep .contact a { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--tx-soft); transition: color 0.3s; }
.rep .contact a:hover { color: var(--gold-bright); }
.rep .contact svg { width: 16px; height: 16px; flex: none; color: var(--gold); }

/* =========================================================================
   CLOSING CTA + FOOTER
   ========================================================================= */
/* =========================================================================
   PARTNER E-MAGAZINE
   ========================================================================= */
.emag { position: relative; overflow: hidden; isolation: isolate; }
.emag-media { position: absolute; inset: 0; z-index: -2; }
.emag-media .photo { width: 100%; height: 100%; }
.emag-veil { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 100% at 78% 40%, rgba(201,161,74,0.10), transparent 55%),
              linear-gradient(180deg, rgba(10,9,8,0.9), rgba(10,9,8,0.86)); }
.emag-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(30px,5vw,72px); align-items: center; }

.emag-copy .eyebrow { margin-bottom: 16px; }
.emag-title { font-family: var(--f-display); font-weight: 800; line-height: 0.94; text-transform: uppercase;
  font-size: clamp(40px,5.4vw,78px); letter-spacing: -0.01em; color: var(--ivory); margin: 0; }
.emag-sub { font-family: var(--f-serif); font-size: clamp(18px,2vw,24px); line-height: 1.5; color: var(--ivory-dim); max-width: 44ch; margin: 22px 0 0; }
.emag-sub em { color: var(--gold-bright); font-style: italic; }
.emag-feats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 11px; }
.emag-feats li { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-ui); font-size: 15px; color: var(--tx-soft); }
.emag-feats .tick { color: var(--gold); font-size: 12px; flex: none; }

.emag-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.emag-dl { padding: 17px 36px; }
.emag-dl .dlico { transition: transform 0.4s var(--ease); }
.emag-dl:hover .dlico { transform: translateY(3px); }
.emag-read { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 9px; transition: color 0.3s, gap 0.3s; }
.emag-read:hover { color: var(--gold-bright); gap: 14px; }
.emag-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-mute); }
.emag-meta .dot { color: var(--line); }

/* ---- 3D magazine ---- */
.emag-stage { position: relative; display: grid; place-items: center; perspective: 1500px; min-height: 520px; }
.emag-glow { position: absolute; width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,201,119,0.22), transparent 65%); filter: blur(30px); z-index: 0; }
.emag-book {
  position: relative; width: clamp(240px, 26vw, 340px); aspect-ratio: 62/82; z-index: 2;
  transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(6deg);
  transition: transform 0.5s var(--ease);
  animation: magFloat 6s ease-in-out infinite;
  will-change: transform;
}
.emag-stage:hover .emag-book { animation-play-state: paused; }
@keyframes magFloat { 0%,100%{ translate: 0 -6px; } 50%{ translate: 0 10px; } }
.emag-cover {
  position: absolute; inset: 0; transform-style: preserve-3d; overflow: hidden;
  border-radius: 3px 6px 6px 3px;
  box-shadow: 26px 34px 60px -18px rgba(0,0,0,0.8), 0 0 0 1px rgba(231,201,119,0.18);
}
.emag-cover .photo { width: 100%; height: 100%; filter: none; }
.emag-gloss { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 46%, transparent 60%); }
/* page edges on the right */
.emag-pages { position: absolute; top: 1.5%; right: -13px; width: 13px; height: 97%;
  background: repeating-linear-gradient(90deg, #f3ecda, #f3ecda 1px, #cdbf9e 1px, #cdbf9e 2px);
  transform: rotateY(28deg) translateZ(-2px); transform-origin: left center;
  border-radius: 0 2px 2px 0; box-shadow: inset -3px 0 6px rgba(0,0,0,0.25); }
/* spine on the left */
.emag-spine { position: absolute; top: 0; left: -8px; width: 9px; height: 100%;
  background: linear-gradient(90deg, #060504, #2a2118); transform: rotateY(-60deg) translateZ(-1px); transform-origin: right center;
  border-radius: 2px 0 0 2px; }
/* wax-seal FREE medallion */
.emag-seal { position: absolute; top: -26px; left: -30px; z-index: 5;
  transform: translateZ(60px) rotate(-13deg); animation: sealSpin 14s linear infinite; }
@keyframes sealSpin { to { transform: translateZ(60px) rotate(347deg); } }
.seal-ring { width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #d24b3e, #9e2f23 70%);
  border: 2px dashed rgba(255,235,220,0.85);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.7), inset 0 0 16px rgba(0,0,0,0.3); }
.seal-free { display: block; font-family: var(--f-display); font-weight: 800; font-size: 21px; color: #fff; letter-spacing: 0.04em; line-height: 1; }
.seal-sub { display: block; font-family: var(--f-ui); font-weight: 600; font-size: 8.5px; letter-spacing: 0.22em; color: #ffe3d8; margin-top: 3px; }
.emag-floor { position: absolute; bottom: 6%; width: 56%; height: 26px; z-index: 1;
  background: radial-gradient(ellipse, rgba(0,0,0,0.6), transparent 70%); filter: blur(8px); }

.emag-kicker { text-align: center; margin: clamp(40px,6vw,64px) auto 0; max-width: 60ch;
  font-family: var(--f-serif); font-style: italic; font-size: clamp(17px,1.9vw,22px); color: var(--tx-soft); }
.emag-kicker span { color: var(--gold-bright); }

@media (prefers-reduced-motion: reduce) {
  .emag-book, .emag-seal { animation: none; }
}
@media (max-width: 880px) {
  .emag-grid { grid-template-columns: 1fr; gap: 10px; }
  .emag-stage { min-height: 440px; order: -1; }
  .emag-copy { text-align: left; }
}
@media (max-width: 480px) {
  .emag-seal { top: -16px; left: -10px; }
  .seal-ring { width: 76px; height: 76px; }
  .seal-free { font-size: 17px; }
}

.foot { background: var(--ink-1); border-top: 1px solid var(--line); padding-block: clamp(48px,6vw,72px) 36px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.foot a { display: block; color: var(--tx-soft); font-size: 14px; padding: 5px 0; transition: color 0.3s; }
.foot a:hover { color: var(--ivory); }
.foot .blurb { color: var(--tx-soft); font-size: 14px; max-width: 38ch; margin-top: 16px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft);
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.1em; color: var(--tx-mute); }
@media (max-width: 760px){ .foot-top { grid-template-columns: 1fr 1fr; } }


/* =========================================================================
   LKR EXCHANGE RATES MODAL
   ========================================================================= */
.rate-modal {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.rate-modal.open { opacity: 1; visibility: visible; }
.rate-backdrop { position: absolute; inset: 0; background: rgba(6,5,4,0.72); backdrop-filter: blur(8px); }
.rate-card {
  position: relative; width: min(420px, 100%);
  max-height: min(82vh, 720px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--gold); box-shadow: 0 40px 100px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(231,201,119,0.08);
  transform: translateY(18px) scale(0.98); transition: transform 0.45s var(--ease);
}
.rate-modal.open .rate-card { transform: none; }
.rate-x {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line-soft); color: var(--tx-soft);
  transition: all 0.3s var(--ease);
}
.rate-x:hover { border-color: var(--gold); color: var(--gold-bright); }
.rate-head {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  padding: 22px 56px 16px; border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: 0.08em; color: var(--ivory);
}
.rate-flag-lg { width: 28px; height: 21px; object-fit: cover; box-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.rate-sub { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.rate-eq { font-family: var(--f-serif); font-style: italic; font-size: 17px; color: var(--champagne); }
.rate-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-ui); font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.rate-live .led { width: 8px; height: 8px; border-radius: 50%; background: #5fd07a; box-shadow: 0 0 9px #5fd07a; animation: blink 1.8s infinite; }
.rate-list { overflow-y: auto; padding: 4px 0 8px; flex: 1; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rate-list::-webkit-scrollbar { width: 6px; }
.rate-list::-webkit-scrollbar-thumb { background: var(--line); }
.rate-item {
  display: grid; grid-template-columns: 26px 1fr auto 16px; align-items: center; gap: 13px;
  padding: 12px 24px; border-bottom: 1px solid rgba(245,240,230,0.05);
}
.rate-item:last-child { border-bottom: 0; }
.rate-item .rf { width: 24px; height: 18px; object-fit: cover; box-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.rate-item .rn { font-family: var(--f-ui); font-size: 14px; color: var(--ivory-dim); }
.rate-item .rn small { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-mute); margin-top: 1px; }
.rate-item .rv { font-family: var(--f-ui); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 500; color: var(--ivory); transition: color 0.5s; }
.rate-item .ra { font-size: 11px; line-height: 1; opacity: 0; transition: opacity 0.4s; text-align: center; }
.rate-item.up .rv { color: #6fe08a; }
.rate-item.down .rv { color: #ff8b6b; }
.rate-item.up .ra { opacity: 1; color: #6fe08a; }
.rate-item.down .ra { opacity: 1; color: #ff8b6b; }
.rate-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; border-top: 1px solid var(--line-soft);
  font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.08em; color: var(--gold);
}
.rate-foot .rate-auto { color: var(--tx-mute); letter-spacing: 0.16em; text-transform: uppercase; font-size: 10px; }
