/* =====================================================================
   E.P.I.C — site theme (tokens, heroes, section heads, Mission page)
   ===================================================================== */
:root {
  --ep-navy: #10192b;
  --ep-navy-2: #1b2a3d;
  --ep-blue: #2ea3f2;
  --ep-gold: #f2b705;
  --ep-gold-deep: #b98a00;
  --ep-cream: #faf7f0;
  --ep-ink: #2a3344;
  --ep-muted: #6b7385;
  --ep-line: #ece6d8;
  --ep-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --ep-sans: 'Nunito Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ep-sans); }

/* ---------- Reading progress ---------- */
.ep-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; pointer-events: none; }
.ep-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ep-gold), var(--ep-blue)); transition: width .1s linear; }

/* ---------- Hero ---------- */
.ep-hero.hero-wrap.hero-wrap-2,
.ep-hero.hero-wrap.hero-wrap-2 .slider-text { height: 540px; }
.ep-hero .slider-text > div { padding-bottom: 80px; }
.ep-hero { position: relative; }
.ep-hero .overlay { background: linear-gradient(180deg, rgba(16,25,43,.55) 0%, rgba(16,25,43,.78) 60%, rgba(16,25,43,.92) 100%) !important; opacity: 1 !important; }
.ep-eyebrow { display: inline-flex; align-items: center; gap: .9rem; font-size: .78rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--ep-gold); }
.ep-eyebrow::before, .ep-eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.ep-hero .ep-hero-title { font-family: var(--ep-serif); font-weight: 600; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.08; color: #fff; margin: 1rem 0 1rem; letter-spacing: -.01em; }
.ep-hero .ep-hero-title em { font-style: italic; color: var(--ep-gold); }
.ep-hero-lead { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 620px; margin: 0 auto 1.6rem; line-height: 1.7; }
.ep-hero .breadcrumbs { margin-bottom: 1.4rem; opacity: .85; }

.ep-lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.ep-lang a { padding: .45rem 1.25rem; border-radius: 999px; color: #fff; font-weight: 700; font-size: .9rem; transition: background .2s, color .2s; }
.ep-lang a:hover { color: var(--ep-gold); text-decoration: none; }
.ep-lang a.active { background: var(--ep-gold); color: var(--ep-navy); }

/* ---------- Intro card ---------- */
.ep-intro { position: relative; z-index: 3; margin-top: -72px; background: linear-gradient(180deg, transparent 72px, var(--ep-cream) 72px); }
.ep-intro-card { background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(16,25,43,.28); display: grid; grid-template-columns: 1.15fr 1fr; overflow: hidden; }
.ep-intro-about { display: flex; gap: 1.4rem; align-items: center; padding: 2rem 2.2rem; }
.ep-intro-about img { width: 86px; height: 86px; flex-shrink: 0; }
.ep-intro-about p { margin: 0 0 .8rem; color: var(--ep-ink); font-size: 1rem; line-height: 1.65; }
.ep-intro-about a { font-weight: 800; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ep-navy); border-bottom: 2px solid var(--ep-gold); padding-bottom: 2px; }
.ep-intro-about a:hover { color: var(--ep-gold-deep); text-decoration: none; }
.ep-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ep-cream); border-left: 1px solid var(--ep-line); }
.ep-stat { padding: 1.8rem .6rem; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.ep-stat + .ep-stat { border-left: 1px solid var(--ep-line); }
.ep-stat strong { font-family: var(--ep-serif); font-size: 2.7rem; font-weight: 600; color: var(--ep-navy); line-height: 1; }
.ep-stat span { margin-top: .5rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ep-muted); line-height: 1.35; }

/* ---------- Section heads ---------- */
.ep-section { padding: 6rem 0; }
.ep-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.ep-head .ep-eyebrow { color: var(--ep-gold-deep); }
.ep-head h2 { font-family: var(--ep-serif); font-weight: 600; font-size: 3rem; color: var(--ep-navy); margin: .7rem 0 .4rem; line-height: 1.1; }
.ep-head p { font-family: var(--ep-serif); font-style: italic; font-size: 1.3rem; color: var(--ep-muted); margin: 0; }
.ep-ornament { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 1.1rem; }
.ep-ornament::before, .ep-ornament::after { content: ''; width: 60px; height: 1px; background: var(--ep-line); }
.ep-ornament i { width: 8px; height: 8px; background: var(--ep-gold); transform: rotate(45deg); display: block; }

/* ---------- Beliefs ---------- */
.ep-beliefs-wrap { background: var(--ep-cream); }
.ep-beliefs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.4rem; counter-reset: belief; list-style: none; padding: 0; margin: 0; }
.ep-beliefs li { position: relative; display: flex; gap: 1.2rem; align-items: flex-start; background: #fff; border: 1px solid var(--ep-line); border-radius: 14px; padding: 1.35rem 1.5rem; color: var(--ep-ink); font-size: 1.02rem; line-height: 1.65; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ep-beliefs li:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(16,25,43,.3); border-color: rgba(242,183,5,.55); }
.ep-beliefs li::before { counter-increment: belief; content: counter(belief, decimal-leading-zero); font-family: var(--ep-serif); font-style: italic; font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--ep-gold-deep); min-width: 2.4rem; padding-top: .1rem; }

/* ---------- Preamble ---------- */
.ep-preamble { max-width: 780px; margin: 0 auto; position: relative; }
.ep-preamble p { color: var(--ep-ink); font-size: 1.08rem; line-height: 1.9; margin-bottom: 1.3rem; }
.ep-preamble p:first-child { font-family: var(--ep-serif); font-size: 1.55rem; line-height: 1.6; color: var(--ep-navy); }
.ep-preamble p:first-child::first-letter { float: left; font-size: 4.6rem; line-height: .82; padding: .35rem .6rem 0 0; color: var(--ep-gold-deep); font-weight: 600; }

/* ---------- Document layout ---------- */
.ep-doc-wrap { background: linear-gradient(180deg, #fff 0, #fff 140px, var(--ep-cream) 140px); padding-bottom: 6rem; }
.ep-doc-wrap .ep-head { margin-bottom: 3.5rem; }
.ep-toc-col { position: relative; }
.ep-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; background: #fff; border: 1px solid var(--ep-line); border-radius: 16px; padding: 1.6rem 1.4rem; scrollbar-width: thin; }
.ep-toc-label { font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--ep-gold-deep); margin-bottom: 1rem; display: block; }
.ep-toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--ep-line); }
.ep-toc li a { display: block; position: relative; padding: .42rem 0 .42rem 1rem; color: var(--ep-ink); font-weight: 700; font-size: .92rem; line-height: 1.35; transition: color .2s; }
.ep-toc li.sub a { padding-left: 1.8rem; font-weight: 500; font-size: .85rem; color: var(--ep-muted); }
.ep-toc li a::before { content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: transparent; transition: background .2s; }
.ep-toc li a:hover { color: var(--ep-navy); text-decoration: none; }
.ep-toc li a.active { color: var(--ep-navy); }
.ep-toc li a.active::before { background: var(--ep-gold); }
.ep-toc li.sub a.active { font-weight: 700; }
.ep-toc-toggle { display: none; }

.ep-doc { min-width: 0; }
.ep-part { position: relative; overflow: hidden; background: var(--ep-navy); color: #fff; border-radius: 18px; padding: 2.6rem 2.6rem; margin: 0 0 2.5rem; scroll-margin-top: 100px;
  background-image: radial-gradient(circle at 100% 0%, rgba(46,163,242,.28), transparent 45%), radial-gradient(circle at 0% 120%, rgba(242,183,5,.22), transparent 45%); }
.ep-part + * { margin-top: 0; }
.ep-part:not(:first-child) { margin-top: 4.5rem; }
.ep-part .ep-eyebrow { color: var(--ep-gold); }
.ep-part .ep-eyebrow::after { display: none; }
.ep-part h2 { font-family: var(--ep-serif); font-weight: 600; font-size: 2.7rem; color: #fff; margin: .6rem 0 0; letter-spacing: .01em; }
.ep-part p { color: rgba(255,255,255,.72); margin: .6rem 0 0; font-size: 1rem; }

.ep-title { background: #fff; border: 1px solid var(--ep-line); border-radius: 18px; padding: 2.2rem 2.4rem .6rem; margin-bottom: 2rem; scroll-margin-top: 100px; }
.ep-title-head { display: flex; align-items: baseline; gap: 1rem; padding-bottom: 1.3rem; margin-bottom: .4rem; border-bottom: 2px solid var(--ep-navy); }
.ep-title-head .num { font-family: var(--ep-serif); font-weight: 600; font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--ep-gold-deep); min-width: 3rem; }
.ep-title-head .lbl { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ep-muted); margin-bottom: .25rem; }
.ep-title-head h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.85rem; line-height: 1.15; color: var(--ep-navy); margin: 0; text-transform: uppercase; letter-spacing: .03em; }

.ep-article { display: grid; grid-template-columns: 92px 1fr; gap: 1.4rem; padding: 1.7rem 0; scroll-margin-top: 100px; }
.ep-article + .ep-article { border-top: 1px solid var(--ep-line); }
.ep-art-no { text-align: left; }
.ep-art-no small { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ep-muted); }
.ep-art-no b { display: block; font-family: var(--ep-serif); font-weight: 600; font-size: 2.5rem; line-height: 1; color: var(--ep-navy); margin-top: .15rem; }
.ep-art-no b::after { content: ''; display: block; width: 22px; height: 2px; background: var(--ep-gold); margin-top: .55rem; }
.ep-art-body { min-width: 0; }
.ep-art-body h4 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.6rem; line-height: 1.25; color: var(--ep-navy); margin: .1rem 0 .8rem; }
.ep-art-body p, .ep-art-body li { color: var(--ep-ink); font-size: 1.02rem; line-height: 1.85; }
.ep-art-body p { margin-bottom: .9rem; }
.ep-art-body h6 { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ep-blue); margin: 1.4rem 0 .6rem; }
.ep-art-body ul { list-style: none; padding-left: 0; margin: 0 0 1rem; }
.ep-art-body ul li { position: relative; padding-left: 1.5rem; margin-bottom: .35rem; }
.ep-art-body ul li::before { content: ''; position: absolute; left: .2rem; top: .78em; width: 6px; height: 6px; background: var(--ep-gold); transform: rotate(45deg); }
.ep-art-body ol { padding-left: 0; margin: 0 0 1rem; list-style: none; counter-reset: ep-ol; }
.ep-art-body ol[start="8"] { counter-reset: ep-ol 7; }
.ep-art-body ol li { position: relative; padding-left: 2.4rem; margin-bottom: .55rem; counter-increment: ep-ol; }
.ep-art-body ol li::before { content: counter(ep-ol); position: absolute; left: 0; top: .2em; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ep-cream); border: 1px solid var(--ep-line); color: var(--ep-gold-deep); font-family: var(--ep-serif); font-weight: 700; font-size: 1rem; line-height: 1.6rem; text-align: center; }
.ep-art-body .text-uppercase.font-weight-bold { font-family: var(--ep-serif); font-size: 1.35rem; letter-spacing: .04em; color: var(--ep-navy); background: var(--ep-cream); border-left: 3px solid var(--ep-gold); padding: .7rem 1rem; border-radius: 4px; }
.ep-art-body p.ep-note { font-family: var(--ep-serif); font-style: italic; font-size: 1.2rem; line-height: 1.7; color: var(--ep-navy); border-left: 3px solid var(--ep-gold); padding: .2rem 0 .2rem 1.1rem; }

/* ---------- Share ---------- */
.ep-share { margin-top: 3rem; background: #fff; border: 1px solid var(--ep-line); border-radius: 18px; padding: 1.8rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ep-share h5 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.5rem; color: var(--ep-navy); margin: 0; }
.ep-share-links { display: flex; gap: .55rem; flex-wrap: wrap; }
.ep-share-links a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ep-navy); border: 1px solid var(--ep-line); background: var(--ep-cream); transition: all .2s; font-size: 1rem; }
.ep-share-links a:hover { background: var(--ep-navy); color: var(--ep-gold); border-color: var(--ep-navy); text-decoration: none; transform: translateY(-2px); }

/* ---------- Back to top ---------- */
.ep-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--ep-navy); color: var(--ep-gold); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(16,25,43,.5); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 1500; border: 0; }
.ep-top.show { opacity: 1; visibility: visible; transform: none; }
.ep-top svg, .ep-toc-toggle svg { width: 18px; height: 18px; }
.ep-top:hover { color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ep-intro-card { grid-template-columns: 1fr; }
  .ep-stats { border-left: 0; border-top: 1px solid var(--ep-line); }
}
@media (max-width: 991.98px) {
  .ep-section { padding: 4.5rem 0; }
  .ep-beliefs { grid-template-columns: 1fr; }
  .ep-toc-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; background: var(--ep-navy); color: #fff; border: 0; border-radius: 12px; padding: .9rem 1.2rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: 1rem; }
  .ep-toc-toggle svg { transition: transform .2s; color: var(--ep-gold); }
  .ep-toc-col.open .ep-toc-toggle svg { transform: rotate(180deg); }
  .ep-toc { position: static; max-height: none; display: none; margin-bottom: 2rem; }
  .ep-toc-col.open .ep-toc { display: block; }
}
@media (max-width: 767.98px) {
  .ep-hero.hero-wrap.hero-wrap-2, .ep-hero.hero-wrap.hero-wrap-2 .slider-text { height: 560px; }
  .ep-hero .slider-text > div { padding-bottom: 56px; }
  .ep-eyebrow { letter-spacing: .18em; }
  .ep-hero .ep-eyebrow::before, .ep-hero .ep-eyebrow::after { display: none; }
  .ep-hero-lead { font-size: 1rem; }
  .ep-intro { margin-top: -48px; background: linear-gradient(180deg, transparent 48px, var(--ep-cream) 48px); }
  .ep-intro-about { flex-direction: column; text-align: center; padding: 1.6rem 1.4rem; }
  .ep-stats { grid-template-columns: repeat(2, 1fr); }
  .ep-stat:nth-child(3) { border-left: 0; }
  .ep-stat:nth-child(n+3) { border-top: 1px solid var(--ep-line); }
  .ep-head h2 { font-size: 2.2rem; }
  .ep-preamble p:first-child { font-size: 1.3rem; }
  .ep-part { padding: 2rem 1.5rem; }
  .ep-part h2 { font-size: 2.1rem; }
  .ep-title { padding: 1.6rem 1.25rem .3rem; }
  .ep-title-head h3 { font-size: 1.4rem; }
  .ep-article { grid-template-columns: 1fr; gap: .4rem; }
  .ep-art-no { display: flex; align-items: baseline; gap: .5rem; }
  .ep-art-no b { font-size: 1.6rem; }
  .ep-art-no b::after { display: none; }
  .ep-art-body h4 { font-size: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ep-beliefs li, .ep-top, .ep-share-links a { transition: none; }
}
@media print {
  .epic-topbar, .epic-navbar, .ep-hero, .ep-toc-col, .ep-top, .ep-progress, .ep-share, .ftco-intro, .ftco-counter, .testimony-section, footer, .py-4 { display: none !important; }
  .ep-intro { margin-top: 0; }
  .ep-title, .ep-part { break-inside: avoid-page; border: 0; }
  .ep-part { background: none; color: #000; padding: 0; }
  .ep-part h2 { color: #000; }
}


/* =====================================================================
   E.P.I.C — site-wide components (all pages)
   Builds on the tokens and shared pieces defined above (hero, eyebrow,
   section heads, intro card) — this file is concatenated after them.
   ===================================================================== */

body { color: var(--ep-ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--ep-blue); }
::selection { background: rgba(242,183,5,.35); }
.ep-serif { font-family: var(--ep-serif); }
img { max-width: 100%; }

/* ---------- Buttons & links ---------- */
.ep-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1.9rem; border-radius: 999px; border: 2px solid var(--ep-gold); background: var(--ep-gold); color: var(--ep-navy); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; cursor: pointer; }
.ep-btn:hover { color: var(--ep-navy); text-decoration: none; background: #ffc93c; border-color: #ffc93c; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(242,183,5,.8); }
.ep-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.ep-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ep-navy); box-shadow: none; }
.ep-btn--navy { background: var(--ep-navy); border-color: var(--ep-navy); color: #fff; }
.ep-btn--navy:hover { background: var(--ep-navy-2); border-color: var(--ep-navy-2); color: var(--ep-gold); box-shadow: 0 12px 24px -12px rgba(16,25,43,.6); }
.ep-btn--line { background: transparent; color: var(--ep-navy); border-color: var(--ep-navy); }
.ep-btn--line:hover { background: var(--ep-navy); color: #fff; border-color: var(--ep-navy); box-shadow: none; }
.ep-btn--block { width: 100%; }
.ep-btn svg { width: 16px; height: 16px; }
.ep-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ep-navy); border-bottom: 2px solid var(--ep-gold); padding-bottom: 3px; }
.ep-link:hover { color: var(--ep-gold-deep); text-decoration: none; }
.ep-link--light { color: #fff; }
.ep-link--light:hover { color: var(--ep-gold); }

/* ---------- Top bar language switch ---------- */
.ep-topbar-lang { display: inline-flex; align-items: center; margin-left: .9rem; padding: 3px; border-radius: 999px; background: #f1f4f8; }
.ep-topbar-lang a { padding: .28rem .75rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--ep-navy) !important; background: transparent !important; width: auto !important; height: auto !important; }
.ep-topbar-lang a:hover { text-decoration: none; color: var(--ep-gold-deep) !important; }
.ep-topbar-lang a.active { background: var(--ep-navy) !important; color: #fff !important; }

/* ---------- Page heroes ---------- */
.ep-hero--page.hero-wrap.hero-wrap-2,
.ep-hero--page.hero-wrap.hero-wrap-2 .slider-text { height: 440px; }
.ep-hero--page .slider-text > div { padding-bottom: 0; }
.ep-hero { overflow: hidden; }
.ep-hero .overlay { z-index: 1; }
.ep-hero .container { position: relative; z-index: 2; }
.ep-hero.is-soft::before { content: ''; position: absolute; inset: -30px; background: inherit; background-size: cover; background-position: center; filter: blur(10px) saturate(1.1); z-index: 0; }

/* Home hero */
.ep-home-hero { position: relative; min-height: 680px; height: calc(100vh - 132px); max-height: 820px; display: flex; align-items: center; background-size: cover; background-position: center 35%; color: #fff; overflow: hidden; }
.ep-home-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(16,25,43,.94) 0%, rgba(16,25,43,.82) 38%, rgba(16,25,43,.35) 75%, rgba(16,25,43,.2) 100%), linear-gradient(0deg, rgba(16,25,43,.7) 0%, transparent 40%); }
.ep-home-hero .container { position: relative; z-index: 2; padding-bottom: 70px; }
.ep-home-hero h1 { font-family: var(--ep-serif); font-weight: 600; font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: 1.03; color: #fff; margin: 1.2rem 0 1.4rem; max-width: 760px; letter-spacing: -.01em; }
.ep-home-hero h1 em { color: var(--ep-gold); font-style: italic; }
.ep-home-hero .ep-eyebrow::after { display: none; }
.ep-home-hero p.lead { color: rgba(255,255,255,.82); font-size: 1.15rem; line-height: 1.75; max-width: 560px; margin-bottom: 2.2rem; }
.ep-home-hero .ep-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.ep-hero-chip { position: absolute; right: 0; bottom: 110px; z-index: 3; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); border-radius: 16px; color: #fff; max-width: 330px; }
.ep-hero-chip .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--ep-gold); color: var(--ep-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ep-hero-chip .ic svg { width: 20px; height: 20px; }
.ep-hero-chip small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ep-gold); font-weight: 800; }
.ep-hero-chip strong { display: block; font-size: .98rem; line-height: 1.35; }
.ep-home-intro { margin-top: -80px; }

/* ---------- Generic layout helpers ---------- */
.ep-bg-cream { background: var(--ep-cream); }
.ep-bg-navy { background: var(--ep-navy); color: #fff; }
.ep-head--left { text-align: left; margin-left: 0; }
.ep-head--left .ep-ornament { justify-content: flex-start; }
.ep-head--left .ep-ornament::before { display: none; }
.ep-head--light h2 { color: #fff; }
.ep-head--light p { color: rgba(255,255,255,.7); }
.ep-prose p { font-size: 1.06rem; line-height: 1.85; color: var(--ep-ink); }
.ep-prose p.ep-lead { font-family: var(--ep-serif); font-size: 1.5rem; line-height: 1.55; color: var(--ep-navy); }
.ep-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.ep-split--wide-left { grid-template-columns: 1.15fr .85fr; }
.ep-split h2 { font-family: var(--ep-serif); font-weight: 600; font-size: 2.7rem; line-height: 1.12; color: var(--ep-navy); margin: .7rem 0 1.2rem; }

/* Framed photos
   The gold outline and the badge now sit INSIDE the frame's own box, so
   nothing pokes past the column, the next column, or the phone screen. */
.ep-frame { position: relative; padding: 0 22px 22px 0; }
.ep-frame::after { content: ''; position: absolute; top: 22px; left: 22px; right: 0; bottom: 0; border: 2px solid var(--ep-gold); border-radius: 22px; z-index: 0; pointer-events: none; }
.ep-frame img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(16,25,43,.45); }
.ep-frame--tall img { aspect-ratio: 4 / 4.6; }
.ep-frame .ep-badge { position: absolute; z-index: 2; left: 18px; bottom: 40px; background: #fff; border-radius: 16px; padding: .9rem 1.2rem; box-shadow: 0 20px 40px -18px rgba(16,25,43,.4); display: flex; align-items: center; gap: .9rem; }
.ep-badge b { font-family: var(--ep-serif); font-size: 2.3rem; line-height: 1; color: var(--ep-navy); }
.ep-badge span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ep-muted); line-height: 1.35; }

/* Two photos side by side: equal size, the second dropped a little lower.
   Bottom padding reserves room for the drop so it never overlaps the next section. */
.ep-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start; padding-bottom: 3rem; }
.ep-stack img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; border-radius: 18px; box-shadow: 0 24px 50px -28px rgba(16,25,43,.5); }
.ep-stack img:nth-child(2) { transform: translateY(3rem); }

/* Older browsers without aspect-ratio: fixed heights instead */
@supports not (aspect-ratio: 1) {
  .ep-frame img { height: 380px; }
  .ep-frame--tall img { height: 520px; }
  .ep-stack img { height: 400px; }
}

/* ---------- Vision & mission ---------- */
.ep-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.ep-vm-card { position: relative; background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; padding: 2.6rem 2.6rem 2.4rem; overflow: hidden; }
.ep-vm-card::before { content: '\201C'; position: absolute; right: 1.6rem; top: -1.2rem; font-family: var(--ep-serif); font-size: 9rem; line-height: 1; color: rgba(242,183,5,.16); }
.ep-vm-card .ep-icon { margin-bottom: 1.4rem; }
.ep-vm-card h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 2rem; color: var(--ep-navy); margin: 0 0 .8rem; }
.ep-vm-card p { font-family: var(--ep-serif); font-size: 1.35rem; line-height: 1.6; color: var(--ep-ink); margin: 0; }
.ep-vm-card--navy { background: var(--ep-navy); border-color: var(--ep-navy); background-image: radial-gradient(circle at 100% 0%, rgba(46,163,242,.25), transparent 50%); }
.ep-vm-card--navy h3 { color: #fff; }
.ep-vm-card--navy p { color: rgba(255,255,255,.85); }

.ep-icon { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ep-cream); color: var(--ep-gold-deep); border: 1px solid var(--ep-line); flex-shrink: 0; }
.ep-icon svg { width: 24px; height: 24px; }
.ep-icon--gold { background: var(--ep-gold); color: var(--ep-navy); border-color: var(--ep-gold); }

/* ---------- Pillars list ---------- */
.ep-pillars { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: 1.1rem; }
.ep-pillars li { display: flex; gap: 1.1rem; align-items: flex-start; }
.ep-pillars h4 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.35rem; color: var(--ep-navy); margin: .2rem 0 .2rem; }
.ep-pillars p { margin: 0; color: var(--ep-muted); line-height: 1.6; }

/* ---------- Location cards ---------- */
.ep-loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.ep-loc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; overflow: hidden; color: inherit; transition: transform .3s, box-shadow .3s; }
.ep-loc:hover { text-decoration: none; color: inherit; transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(16,25,43,.45); }
.ep-loc-img { position: relative; height: 240px; overflow: hidden; }
.ep-loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ep-loc:hover .ep-loc-img img { transform: scale(1.06); }
.ep-loc-img .flag { position: absolute; left: 1rem; top: 1rem; background: rgba(255,255,255,.92); border-radius: 999px; padding: .3rem .8rem; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ep-navy); }
.ep-loc-body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.ep-loc-body h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.75rem; color: var(--ep-navy); margin: 0 0 .4rem; }
.ep-loc-body p { color: var(--ep-muted); line-height: 1.65; margin: 0 0 1.3rem; flex: 1; }
.ep-loc--current { border-color: var(--ep-gold); }

/* ---------- Donate band & bank card ---------- */
.ep-donate { position: relative; background: var(--ep-navy); color: #fff; overflow: hidden; background-image: radial-gradient(circle at 0% 0%, rgba(242,183,5,.18), transparent 40%), radial-gradient(circle at 100% 100%, rgba(46,163,242,.25), transparent 45%); }
.ep-donate .ep-split h2 { color: #fff; }
.ep-donate p { color: rgba(255,255,255,.78); font-size: 1.06rem; line-height: 1.8; }
.ep-bank { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 2rem 2rem 1.4rem; backdrop-filter: blur(8px); }
.ep-bank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.ep-bank-head span { font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--ep-gold); }
.ep-bank-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.ep-bank-row small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.ep-bank-row strong { display: block; font-size: 1.12rem; color: #fff; font-weight: 700; letter-spacing: .02em; word-break: break-word; }
.ep-copy { flex-shrink: 0; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; border-radius: 999px; padding: .4rem .85rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.ep-copy:hover { background: var(--ep-gold); border-color: var(--ep-gold); color: var(--ep-navy); }
.ep-copy.done { background: #2fb37a; border-color: #2fb37a; color: #fff; }
.ep-bank--light { background: #fff; border-color: var(--ep-line); backdrop-filter: none; }
.ep-bank--light .ep-bank-row { border-color: var(--ep-line); }
.ep-bank--light .ep-bank-row small { color: var(--ep-muted); }
.ep-bank--light .ep-bank-row strong { color: var(--ep-navy); }
.ep-bank--light .ep-copy { color: var(--ep-navy); border-color: var(--ep-line); }

/* ---------- Articles (dynamic) ---------- */
.ep-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.ep-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; color: inherit; }
.ep-post:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(16,25,43,.45); text-decoration: none; color: inherit; }
.ep-post-img { height: 210px; background: var(--ep-cream); overflow: hidden; }
.ep-post-img img { width: 100%; height: 100%; object-fit: cover; }
.ep-post-body { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.ep-post-meta { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ep-gold-deep); margin-bottom: .6rem; }
.ep-post-body h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.55rem; line-height: 1.25; color: var(--ep-navy); margin: 0 0 .6rem; }
.ep-post-body p { color: var(--ep-muted); line-height: 1.65; margin: 0 0 1rem; flex: 1; }
.ep-post-author { font-size: .85rem; color: var(--ep-ink); font-weight: 700; padding-top: .9rem; border-top: 1px solid var(--ep-line); }
.ep-post--featured { display: grid; grid-template-columns: 1.1fr 1fr; }
.ep-post--featured .ep-post-img { height: auto; min-height: 320px; }
.ep-post--featured .ep-post-body { padding: 2.6rem; justify-content: center; }
.ep-post--featured h3 { font-size: 2.3rem; }
.ep-tag { display: inline-block; align-self: flex-start; background: var(--ep-cream); border: 1px solid var(--ep-line); color: var(--ep-navy); border-radius: 999px; padding: .3rem .85rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.ep-state { grid-column: 1 / -1; text-align: center; color: var(--ep-muted); padding: 2.5rem 1rem; font-family: var(--ep-serif); font-size: 1.3rem; font-style: italic; }
.ep-state.is-error { color: #b4442f; }
.ep-skel { background: linear-gradient(90deg, #f2efe7 0%, #faf8f3 50%, #f2efe7 100%); background-size: 200% 100%; animation: ep-shimmer 1.4s infinite; border-radius: 20px; min-height: 360px; }
@keyframes ep-shimmer { to { background-position: -200% 0; } }

/* ---------- Pagination ---------- */
.ep-pager { display: flex; justify-content: center; gap: .45rem; list-style: none; padding: 0; margin: 2.6rem 0 0; flex-wrap: wrap; }
.ep-pager .page-link { border: 1px solid var(--ep-line) !important; border-radius: 999px !important; min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 .9rem; color: var(--ep-navy) !important; background: #fff; font-weight: 700; }
.ep-pager .page-item.active .page-link { background: var(--ep-navy) !important; border-color: var(--ep-navy) !important; color: #fff !important; }
.ep-pager .page-item.disabled .page-link { opacity: .45; }

/* ---------- Children cards (dynamic) ---------- */
.ep-children { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.ep-child { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.ep-child:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -30px rgba(16,25,43,.45); }
.ep-child-img { aspect-ratio: 4/5; background: var(--ep-cream) center top / cover no-repeat; position: relative; }
.ep-child-tag { position: absolute; left: .8rem; bottom: .8rem; background: rgba(16,25,43,.85); color: #fff; border-radius: 999px; padding: .3rem .75rem; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ep-child-body { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.ep-child-body h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--ep-navy); margin: 0 0 .5rem; text-transform: capitalize; }
.ep-child-meta { list-style: none; padding: 0; margin: 0 0 1rem; font-size: .82rem; color: var(--ep-muted); line-height: 1.55; flex: 1; }
.ep-child-meta b { color: var(--ep-ink); font-weight: 700; }
.ep-bar { height: 6px; background: #efe9db; border-radius: 999px; overflow: hidden; margin-bottom: .55rem; }
.ep-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ep-gold), #ffd45c); border-radius: 999px; }
.ep-child-nums { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ep-muted); margin-bottom: 1rem; }
.ep-child-nums b { color: var(--ep-navy); }
.ep-child .ep-btn { padding: .75rem 1rem; font-size: .74rem; }

/* ---------- Goal & steps ---------- */
.ep-goal { background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; padding: 2.2rem; box-shadow: 0 30px 60px -40px rgba(16,25,43,.5); }
.ep-goal small { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ep-gold-deep); }
.ep-goal .amt { font-family: var(--ep-serif); font-size: 3.4rem; font-weight: 600; color: var(--ep-navy); line-height: 1; margin: .6rem 0 .3rem; }
.ep-goal .amt span { font-size: 1.3rem; color: var(--ep-muted); font-weight: 500; }
.ep-goal .ep-bar { height: 10px; margin: 1.2rem 0 .8rem; }
.ep-goal p { margin: 0; color: var(--ep-muted); }
.ep-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.ep-step { background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; padding: 2rem 1.9rem; position: relative; }
.ep-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--ep-serif); font-style: italic; font-weight: 600; font-size: 2.6rem; color: var(--ep-gold-deep); line-height: 1; display: block; margin-bottom: 1rem; }
.ep-step h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.5rem; color: var(--ep-navy); margin: 0 0 .5rem; }
.ep-step p { margin: 0; color: var(--ep-muted); line-height: 1.65; }

/* ---------- Service info / map ---------- */
.ep-info-card { background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; padding: 1.8rem 1.9rem; }
.ep-info-card + .ep-info-card { margin-top: 1.2rem; }
.ep-info-row { display: flex; gap: 1rem; align-items: flex-start; }
.ep-info-row + .ep-info-row { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--ep-line); }
.ep-info-row small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ep-gold-deep); margin-bottom: .25rem; }
.ep-info-row strong { display: block; font-family: var(--ep-serif); font-size: 1.4rem; font-weight: 600; color: var(--ep-navy); line-height: 1.3; }
.ep-info-row p { margin: .25rem 0 0; color: var(--ep-muted); line-height: 1.6; }
.ep-info-row ul { list-style: none; padding: 0; margin: .3rem 0 0; color: var(--ep-ink); line-height: 1.7; }
.ep-map { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--ep-line); background: var(--ep-cream); aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px -40px rgba(16,25,43,.5); }
.ep-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ep-map--wide { aspect-ratio: auto; height: 460px; border-radius: 0; border: 0; box-shadow: none; }
.ep-quote { font-family: var(--ep-serif); font-style: italic; font-size: 1.6rem; line-height: 1.55; color: var(--ep-navy); border-left: 3px solid var(--ep-gold); padding-left: 1.4rem; margin: 0 0 2rem; }

/* ---------- Gallery & lightbox ---------- */
.ep-gallery { columns: 3; column-gap: 1.2rem; }
.ep-gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; margin: 0 0 1.2rem; border-radius: 16px; overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.ep-gallery img { width: 100%; display: block; transition: transform .6s, filter .3s; }
.ep-gallery button:hover img { transform: scale(1.04); filter: brightness(1.05); }
.ep-gallery button:focus-visible { outline: 3px solid var(--ep-gold); outline-offset: 3px; }
.ep-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(10,15,27,.94); display: none; align-items: center; justify-content: center; padding: 3rem 1rem; }
.ep-lightbox.open { display: flex; }
.ep-lightbox img { max-width: min(1100px, 100%); max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.ep-lightbox button { position: absolute; border: 0; background: rgba(255,255,255,.1); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ep-lightbox button:hover { background: var(--ep-gold); color: var(--ep-navy); }
.ep-lightbox .lb-close { top: 18px; right: 18px; }
.ep-lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.ep-lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.ep-lightbox svg { width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.ep-cta { position: relative; border-radius: 26px; overflow: hidden; background: var(--ep-navy); color: #fff; padding: 4rem 3rem; text-align: center; background-image: radial-gradient(circle at 10% 0%, rgba(242,183,5,.22), transparent 40%), radial-gradient(circle at 90% 100%, rgba(46,163,242,.3), transparent 45%); }
.ep-cta h2 { font-family: var(--ep-serif); font-weight: 600; font-size: 2.8rem; color: #fff; margin: .8rem 0 .8rem; }
.ep-cta p { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }
.ep-cta .ep-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Video / founder ---------- */
.ep-founder { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; padding: 1.6rem 1.8rem; }
.ep-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--ep-gold), 0 18px 30px -16px rgba(16,25,43,.5); }
.ep-founder h4 { font-family: var(--ep-serif); font-weight: 600; font-size: 1.6rem; color: var(--ep-navy); margin: .3rem 0 .2rem; }
.ep-founder p { margin: 0 0 .8rem; color: var(--ep-muted); }
.ep-video { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16/10; background: var(--ep-navy) center / cover no-repeat; box-shadow: 0 30px 60px -30px rgba(16,25,43,.55); }
.ep-video::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,25,43,.85), rgba(16,25,43,.15)); }
.ep-video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; background: var(--ep-gold); color: var(--ep-navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(242,183,5,.25); transition: transform .3s, box-shadow .3s; }
.ep-video:hover .play { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 18px rgba(242,183,5,.18); }
.ep-video .play svg { width: 30px; height: 30px; margin-left: 4px; }
.ep-video .cap { position: absolute; left: 1.6rem; bottom: 1.4rem; right: 1.6rem; color: #fff; }
.ep-video .cap small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ep-gold); }
.ep-video .cap strong { font-family: var(--ep-serif); font-size: 1.6rem; font-weight: 600; }

/* ---------- Contact ---------- */
.ep-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ep-contact-card { background: #fff; border: 1px solid var(--ep-line); border-radius: 20px; padding: 2rem; text-align: center; color: inherit; transition: transform .3s, box-shadow .3s; }
a.ep-contact-card:hover { text-decoration: none; color: inherit; transform: translateY(-4px); box-shadow: 0 26px 46px -30px rgba(16,25,43,.45); }
.ep-contact-card .ep-icon { margin: 0 auto 1.1rem; }
.ep-contact-card small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ep-gold-deep); margin-bottom: .4rem; }
.ep-contact-card strong { font-family: var(--ep-serif); font-size: 1.45rem; font-weight: 600; color: var(--ep-navy); word-break: break-word; }
.ep-form { background: #fff; border: 1px solid var(--ep-line); border-radius: 24px; padding: 2.6rem; box-shadow: 0 30px 60px -45px rgba(16,25,43,.5); }
.ep-form h3 { font-family: var(--ep-serif); font-weight: 600; font-size: 2.1rem; color: var(--ep-navy); margin: 0 0 .4rem; }
.ep-form > p { color: var(--ep-muted); margin-bottom: 1.8rem; }
.ep-field { margin-bottom: 1.1rem; }
.ep-field label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ep-navy); margin-bottom: .45rem; }
.ep-input { display: block; width: 100%; border: 1px solid #e3ddcf; background: #fdfcf9; border-radius: 12px; padding: .85rem 1rem; font-size: 1rem; color: var(--ep-ink); transition: border-color .2s, box-shadow .2s, background .2s; font-family: inherit; }
.ep-input:focus { outline: none; border-color: var(--ep-gold); background: #fff; box-shadow: 0 0 0 4px rgba(242,183,5,.18); }
textarea.ep-input { min-height: 160px; resize: vertical; }
.ep-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ep-msg { margin-top: 1rem; font-weight: 700; }
.ep-msg.ok { color: #1f8a5b; }
.ep-msg.err { color: #b4442f; }

/* ---------- Footer ---------- */
.ep-footer { background: var(--ep-navy); color: rgba(255,255,255,.7); position: relative; background-image: radial-gradient(circle at 100% 0%, rgba(46,163,242,.12), transparent 40%); }
.ep-footer a { color: rgba(255,255,255,.75); }
.ep-footer a:hover { color: var(--ep-gold); text-decoration: none; }
.ep-footer-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; padding: 2.4rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ep-footer-strip a, .ep-footer-strip div { display: flex; align-items: center; gap: 1rem; color: #fff; }
.ep-footer-strip .ep-icon { width: 48px; height: 48px; background: rgba(242,183,5,.12); border-color: rgba(242,183,5,.3); color: var(--ep-gold); }
.ep-footer-strip small { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.ep-footer-strip strong { font-size: 1.02rem; font-weight: 700; }
.ep-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 3rem; padding: 4rem 0 3.4rem; }
.ep-footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.2rem; }
.ep-footer-brand img { width: 60px; height: 60px; border-radius: 50%; background: #fff; }
.ep-footer-brand strong { color: #fff; font-family: var(--ep-serif); font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.ep-footer p { line-height: 1.75; font-size: .95rem; }
.ep-footer h5 { color: var(--ep-gold); font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; margin: .4rem 0 1.3rem; }
.ep-footer ul { list-style: none; padding: 0; margin: 0; }
.ep-footer ul li { margin-bottom: .65rem; }
.ep-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.ep-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .2s; }
.ep-social a:hover { background: var(--ep-gold); border-color: var(--ep-gold); color: var(--ep-navy); }
.ep-social svg { width: 18px; height: 18px; }
.ep-sub { display: flex; gap: .5rem; margin-top: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 5px; }
.ep-sub input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .55rem .9rem; font-size: .95rem; }
.ep-sub input::placeholder { color: rgba(255,255,255,.45); }
.ep-sub input:focus { outline: none; }
.ep-sub button { border: 0; border-radius: 999px; background: var(--ep-gold); color: var(--ep-navy); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: .6rem 1.1rem; cursor: pointer; }
.ep-sub button:hover { background: #ffc93c; }
.ep-sub-msg { font-size: .85rem; margin-top: .6rem; min-height: 1.2em; color: var(--ep-gold); }
.ep-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.ep-footer-bottom .ep-lang { background: rgba(255,255,255,.05); }
.ep-footer-bottom .ep-lang a { padding: .3rem .9rem; font-size: .78rem; }

/* ---------- Donation modal ---------- */
.ep-modal .modal-content { border: 0; border-radius: 24px; overflow: hidden; }
.ep-modal .modal-body { padding: 2.2rem; }
.ep-modal .close { position: absolute; top: 18px; right: 22px; font-size: 1.8rem; opacity: .5; }
.ep-modal h2 { font-family: var(--ep-serif); font-weight: 600; font-size: 2rem; color: var(--ep-navy); margin: 0 0 .2rem; padding-right: 2rem; }
.ep-modal .ep-raised { font-size: .95rem; color: var(--ep-muted); margin-bottom: .6rem; }
.ep-modal .ep-raised b { color: var(--ep-navy); }
.ep-modal h5 { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ep-gold-deep); margin: 1.6rem 0 .9rem; }
.ep-amounts { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 0; }
.ep-amounts button { border: 1px solid var(--ep-line); background: #fff; color: var(--ep-navy); border-radius: 999px; padding: .5rem 1rem; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; }
.ep-amounts button:hover { border-color: var(--ep-gold); }
.ep-amounts button.active { background: var(--ep-navy); border-color: var(--ep-navy); color: #fff; }
.ep-amount-input { position: relative; }
.ep-amount-input span { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-family: var(--ep-serif); font-size: 1.5rem; color: var(--ep-muted); }
.ep-amount-input input { padding-left: 2.2rem; font-family: var(--ep-serif); font-size: 1.6rem; font-weight: 600; color: var(--ep-navy); }
.ep-check { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--ep-ink); margin: .4rem 0; cursor: pointer; }
.ep-check input { width: 18px; height: 18px; accent-color: var(--ep-navy); }
.ep-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--ep-line); padding-top: 1rem; margin-top: 1.4rem; }
.ep-total span { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ep-muted); }
.ep-total b { font-family: var(--ep-serif); font-size: 2rem; color: var(--ep-navy); }
.ep-modal .ep-bank { padding: 1.2rem 1.3rem .4rem; border-radius: 16px; }
.ep-modal .ep-bank-row { padding: .7rem 0; }
.ep-modal .ep-bank-row strong { font-size: 1rem; }
.ep-modal .ep-note-sm { font-size: .88rem; color: var(--ep-muted); line-height: 1.6; }

/* ---------- Reveal on scroll ---------- */
.ep-js .ep-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.ep-js .ep-reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .ep-children { grid-template-columns: repeat(3, 1fr); }
  .ep-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991.98px) {
  .ep-split, .ep-split--wide-left { grid-template-columns: 1fr; gap: 3.5rem; }
  .ep-split h2 { font-size: 2.3rem; }
  .ep-vm { grid-template-columns: 1fr; }
  .ep-loc-grid, .ep-posts { grid-template-columns: 1fr 1fr; }
  .ep-steps { grid-template-columns: 1fr; }
  .ep-children { grid-template-columns: repeat(2, 1fr); }
  .ep-post--featured { grid-template-columns: 1fr; }
  .ep-post--featured .ep-post-img { min-height: 240px; }
  .ep-gallery { columns: 2; }
  .ep-hero-chip { position: relative; right: auto; bottom: auto; margin-top: 2rem; }
  .ep-home-hero { height: auto; max-height: none; padding: 6rem 0 7rem; }
  .ep-home-hero::before { background: linear-gradient(180deg, rgba(16,25,43,.75), rgba(16,25,43,.92)); }
  .ep-contact-cards { grid-template-columns: 1fr; }
  .ep-footer-strip { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .ep-hero--page.hero-wrap.hero-wrap-2, .ep-hero--page.hero-wrap.hero-wrap-2 .slider-text { height: 400px; }
  .ep-loc-grid, .ep-posts { grid-template-columns: 1fr; }
  .ep-children { gap: .9rem; }
  .ep-child-body { padding: 1rem; }
  .ep-child-body h3 { font-size: 1.2rem; }
  .ep-gallery { columns: 2; column-gap: .8rem; }
  .ep-gallery button { margin-bottom: .8rem; }
  .ep-vm-card { padding: 2rem 1.6rem; }
  .ep-cta { padding: 3rem 1.5rem; }
  .ep-cta h2 { font-size: 2.1rem; }
  .ep-form { padding: 1.8rem 1.3rem; }
  .ep-form-row { grid-template-columns: 1fr; gap: 0; }
  .ep-footer-main { grid-template-columns: 1fr; gap: 2.4rem; }
  .ep-founder { grid-template-columns: 1fr; text-align: center; }
  .ep-founder .ep-avatar { margin: 0 auto; }
  .ep-bank { padding: 1.5rem 1.2rem 1rem; }
}
@media (max-width: 420px) {
  .ep-children { grid-template-columns: 1fr 1fr; }
  .ep-child .ep-btn { letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) {
  .ep-js .ep-reveal { opacity: 1; transform: none; transition: none; }
  .ep-loc, .ep-post, .ep-child, .ep-gallery img, .ep-loc-img img { transition: none; }
}

/* ---------- Icon sizing inside components ---------- */
.ep-link svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.ep-bank-head svg { width: 22px; height: 22px; color: var(--ep-gold); }
.ep-info-row .ep-icon, .ep-pillars .ep-icon { width: 48px; height: 48px; }
.ep-info-row .ep-icon svg, .ep-pillars .ep-icon svg { width: 21px; height: 21px; }
.ep-footer-brand strong { font-size: 1.15rem; }
.ep-donate--card { border-radius: 26px; padding: 4.5rem 4rem; }
@media (max-width: 767.98px) { .ep-donate--card { padding: 2.6rem 1.4rem; border-radius: 20px; } }
.ep-child-img { aspect-ratio: 1 / 1; }
.ep-footer-main > *, .ep-split > *, .ep-footer-strip > * { min-width: 0; }
.ep-sub input { width: 100%; }
@media (max-width: 767.98px) { .ep-footer-main { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 767.98px) {
  .ep-frame { padding: 0 12px 12px 0; }
  .ep-frame::after { top: 12px; left: 12px; border-radius: 18px; }
  .ep-frame .ep-badge { left: 12px; bottom: 26px; padding: .7rem 1rem; }
  .ep-badge b { font-size: 1.8rem; }
  .ep-stack { gap: .8rem; padding-bottom: 1.8rem; }
  .ep-stack img:nth-child(2) { transform: translateY(1.8rem); }
}
