/* ==========================================================
   Pastor Frank Igbokwe: premium personal brand
   Palette: deep navy, royal blue, ivory white, subtle gold
   Layout idea: dark editorial hero, light content bands, gold hairlines
   ========================================================== */
:root {
  --navy-900: #050f20;
  --navy-800: #071428;
  --navy-700: #0b1f3f;
  --navy-600: #102a54;
  --royal: #1e4fd8;
  --royal-soft: #3b6cf0;
  --gold: #c9a24b;
  --gold-light: #e2c37a;
  --ivory: #f7f5ef;
  --paper: #ffffff;
  --ink: #12203a;
  --muted: #5b6b86;
  --line: #e4e0d3;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(7, 20, 40, .35);
  --nav-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { font-family: var(--font-body); color: var(--ink); background: var(--ivory); line-height: 1.7; padding-top: var(--nav-h); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { text-wrap: pretty; }
a { color: var(--royal); }
.text-gold { color: var(--gold) !important; }
img { max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-900); padding: .6rem 1rem; z-index: 2000; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; letter-spacing: .01em; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn-gold { background: var(--gold); color: var(--navy-900); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(201, 162, 75, .8); }
.btn-royal { background: var(--royal); color: #fff; border: 1px solid var(--royal); }
.btn-royal:hover { background: var(--royal-soft); color: #fff; transform: translateY(-2px); }
.btn-outline-light-gold { color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light-gold:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-2px); }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--royal); }
.link-arrow i { transition: transform .2s; display: inline-block; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.site-nav { background: rgba(5, 15, 32, .94); backdrop-filter: blur(10px); height: var(--nav-h); border-bottom: 1px solid rgba(201, 162, 75, .25); }
.site-nav .nav-link { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: .94rem; padding: .5rem .85rem; position: relative; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 2px; height: 2px; background: var(--gold); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--gold); border: 1px solid var(--gold); background: var(--navy-700); }
.brand-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: .01em; }
.brand-text strong { font-weight: 700; }
@media (max-width: 991.98px) {
  .site-nav { height: auto; min-height: var(--nav-h); }
  #mainNav { padding: 1rem 0 1.25rem; }
}
.flash-wrap { position: fixed; top: calc(var(--nav-h) + 10px); left: 0; right: 0; z-index: 1500; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 10%, rgba(30, 79, 216, .35), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-700) 70%); color: #fff; overflow: hidden; padding: 4.5rem 0 5rem; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(201, 162, 75, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(201, 162, 75, .07) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%); pointer-events: none; }
.hero .container { position: relative; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .22em; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: .75rem; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: var(--gold); }
.hero h1 { margin: 1.1rem 0 1.25rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 600; }
.hero .lead { color: rgba(255, 255, 255, .8); max-width: 38rem; font-size: 1.12rem; }
.identity-line { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.identity-line li { font-size: .8rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .85); }
.identity-line li.primary { border-color: var(--gold); color: var(--gold-light); font-weight: 600; }
.portrait-frame { position: relative; max-width: 440px; margin-inline: auto; }
.portrait-frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: 220px 220px 18px 18px; }
.portrait-frame img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%; border-radius: 220px 220px 18px 18px; box-shadow: var(--shadow); }
.portrait-badge { position: absolute; left: -14px; bottom: 36px; background: var(--paper); color: var(--ink); border-radius: 12px; padding: .8rem 1.1rem; box-shadow: var(--shadow); max-width: 220px; font-size: .85rem; line-height: 1.35; z-index: 2; }
.portrait-badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-700); line-height: 1; }
@media (max-width: 575.98px) { .portrait-frame::before { inset: 14px -8px -14px 8px; } .portrait-badge { left: 8px; } }

/* ---------- Stats strip ---------- */
.stats { background: var(--navy-800); color: #fff; border-top: 1px solid rgba(201, 162, 75, .35); border-bottom: 1px solid rgba(201, 162, 75, .35); }
.stat { padding: 1.6rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .08); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-top: .35rem; }
@media (max-width: 767.98px) { .stat:nth-child(2) { border-right: 0; } .stat { border-bottom: 1px solid rgba(255, 255, 255, .08); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-white { background: var(--paper); }
.section-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; }
.section-navy .eyebrow { color: var(--gold); }
.section-head { max-width: 46rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-navy .section-head p { color: rgba(255, 255, 255, .75); }
.rule-gold { width: 64px; height: 3px; background: var(--gold); border: 0; opacity: 1; margin: 1.25rem 0; }
.center .rule-gold { margin-inline: auto; }

/* Inner page banner */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 4.5rem 0 4rem; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(201, 162, 75, .35); box-shadow: 0 0 0 60px rgba(201, 162, 75, .04), 0 0 0 120px rgba(30, 79, 216, .06); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { color: rgba(255, 255, 255, .78); max-width: 42rem; font-size: 1.12rem; }

/* ---------- Cards ---------- */
.card-soft { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; height: 100%; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-soft:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.icon-chip { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-700); color: var(--gold-light); font-size: 1.4rem; margin-bottom: 1.1rem; }
.card-soft h3 { font-size: 1.55rem; margin-bottom: .55rem; }
.card-soft p { color: var(--muted); font-size: .98rem; }

.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 2.2rem; height: 100%; position: relative; }
.pillar.primary { background: linear-gradient(165deg, var(--navy-700), var(--navy-900)); color: #fff; border-color: var(--gold); }
.pillar.primary p, .pillar.primary li { color: rgba(255, 255, 255, .82); }
.pillar-tier { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.pillar ul { padding-left: 0; list-style: none; margin: 1.2rem 0 0; display: grid; gap: .45rem; }
.pillar li { font-size: .95rem; padding-left: 1.5rem; position: relative; color: var(--muted); }
.pillar li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--gold); font-size: .85rem; top: .1rem; }

/* Photo treatments */
.photo-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-offset { position: relative; }
.photo-offset::before { content: ""; position: absolute; inset: 18px 18px -18px -18px; border: 1px solid var(--gold); border-radius: 18px; }
.photo-offset .photo-card { position: relative; }

.quote-block { border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.4rem; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.3; color: var(--navy-700); }

/* ---------- Timeline ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: .45rem 1.1rem; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--gold), rgba(201, 162, 75, .15)); }
.tl-item { position: relative; padding: 0 0 1.5rem 68px; }
.tl-item[hidden] { display: none; }
.tl-dot { position: absolute; left: 10px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); box-shadow: 0 0 0 5px var(--ivory); }
.tl-item[data-cat="leadership"] .tl-dot { background: var(--gold); }
.tl-item[data-cat="mission"] .tl-dot { background: var(--royal); border-color: var(--royal); }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; transition: box-shadow .25s, border-color .25s, transform .25s; }
.tl-card:hover { box-shadow: var(--shadow); border-color: var(--gold); transform: translateX(4px); }
.tl-date { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--royal); }
.tl-role { font-size: 1.55rem; margin: .2rem 0 .15rem; }
.tl-place { color: var(--muted); margin: 0; }
.tl-place i { color: var(--gold); margin-right: .35rem; }
.tl-tag { display: inline-block; margin-top: .6rem; font-size: .72rem; padding: .15rem .65rem; border-radius: 999px; background: var(--ivory); border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.tl-year { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.legend { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .85rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: .45rem; vertical-align: -1px; border: 3px solid var(--gold); background: var(--paper); }
.legend .l-lead::before { background: var(--gold); }
.legend .l-mission::before { background: var(--royal); border-color: var(--royal); }
@media (min-width: 992px) {
  .timeline::before { left: 50%; transform: translateX(-1px); }
  .tl-item { width: 50%; padding: 0 56px 1.5rem 0; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 1.5rem 56px; }
  .tl-dot { left: auto; right: -13px; }
  .tl-item:nth-child(even) .tl-dot { right: auto; left: -13px; }
}

/* ---------- Credentials ---------- */
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.cred-list li { display: flex; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.cred-list i { color: var(--gold); font-size: 1.4rem; line-height: 1.2; }
.cred-list strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.cred-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Speaking ---------- */
.format-tile { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.3rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); background: rgba(255, 255, 255, .04); height: 100%; }
.format-tile i { color: var(--gold-light); font-size: 1.5rem; }
.theme-pill { display: inline-block; margin: 0 .5rem .6rem 0; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--gold); color: var(--navy-700); font-weight: 600; font-size: .92rem; background: rgba(201, 162, 75, .1); }

/* ---------- Forms ---------- */
.form-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 2.2rem; box-shadow: var(--shadow); }
.form-label { font-weight: 600; font-size: .9rem; }
.form-control, .form-select { border-radius: 10px; border-color: #d3cfc0; padding: .7rem .9rem; background-color: #fcfbf8; }
.form-control:focus, .form-select:focus { border-color: var(--royal); box-shadow: 0 0 0 .22rem rgba(30, 79, 216, .18); }
.form-note { color: var(--muted); }
.nav-pills-forms { gap: .5rem; margin-bottom: 1.6rem; }
.nav-pills-forms .nav-link { border-radius: 999px; color: var(--ink); border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .92rem; }
.nav-pills-forms .nav-link.active { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.contact-line { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; }
.contact-line i { color: var(--gold-light); font-size: 1.3rem; width: 28px; }

/* ---------- Resources ---------- */
.cat-card { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; transition: all .2s; }
.cat-card:hover, .cat-card.active { border-color: var(--gold); background: var(--navy-700); color: #fff; }
.cat-card i { color: var(--gold); }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--navy-700); }
.post-card .body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--royal); font-weight: 700; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.empty-state { border: 1px dashed var(--gold); border-radius: 18px; padding: 3rem 1.5rem; text-align: center; background: rgba(201, 162, 75, .06); }
.empty-state i { font-size: 2.4rem; color: var(--gold); }
.article-body { font-size: 1.12rem; max-width: 42rem; margin-inline: auto; }
.article-body h2 { font-size: 2rem; margin: 2.2rem 0 1rem; }
.article-body blockquote { border-left: 3px solid var(--gold); margin: 1.8rem 0; padding: .3rem 0 .3rem 1.3rem; font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-700); }

/* ---------- Gallery ---------- */
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; background: var(--navy-800); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; aspect-ratio: 4 / 3; }
.g-item:hover img { transform: scale(1.06); }
.g-item .g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .9rem; color: #fff; font-size: .85rem; text-align: left; background: linear-gradient(transparent, rgba(5, 15, 32, .92)); }
.g-item .g-cap small { display: block; color: var(--gold-light); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .68rem; }
.g-col[hidden] { display: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--royal), var(--navy-700) 65%); color: #fff; border-radius: 24px; padding: 3.2rem; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border: 1px solid rgba(226, 195, 122, .5); border-radius: 50%; }
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .75); padding: 4.5rem 0 1.5rem; border-top: 3px solid var(--gold); }
.footer-tag { max-width: 24rem; font-family: var(--font-display); font-size: 1.4rem; color: var(--gold-light); line-height: 1.3; }
.footer-h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; }
.social a:hover { border-color: var(--gold); color: var(--gold-light); }
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; z-index: 1400; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.06); }

/* ---------- Reveal animation (content is visible unless JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}
@media (max-width: 767.98px) { .section { padding: 4rem 0; } .cta-band { padding: 2.2rem 1.5rem; } .form-panel { padding: 1.4rem; } }

/* ---------- Fixes ---------- */
.stat-num, .portrait-badge strong, .tl-year { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
html, body { overflow-x: clip; }
.pillar.primary .icon-chip { background: rgba(201, 162, 75, .16); border: 1px solid var(--gold); }
h1, h2, h3, h4, .display, .tl-role { font-variant-numeric: lining-nums; }
