/* ═══════════════════════════════════════════════
   Anglican Diocese of Kwoi — Shared Design System
   Light Theme · Gold Accents · VamTam Finovate Style
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,600&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --white:       #ffffff;
  --off-white:   #faf7f3;
  --light:       #f3ede4;
  --light-mid:   #ece6dc;
  --border:      #e5ded4;
  --border-dark: #cfc8ba;

  --gold:        #b8922a;
  --gold-bright: #c9a040;
  --gold-pale:   #f7f0de;
  --gold-line:   rgba(184,146,42,0.22);

  --ink:         #18130d;
  --ink-mid:     #3b352c;
  --ink-light:   #695f55;
  --ink-muted:   #9a9088;

  --navy:        #091524;
  --navy-soft:   #162c46;

  --radius:      2px;
  --shadow-sm:   0 2px 12px rgba(24,19,13,0.07);
  --shadow-md:   0 8px 32px rgba(24,19,13,0.10);
  --shadow-lg:   0 20px 60px rgba(24,19,13,0.14);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold-pale); color: var(--gold); }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--gold); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
.t-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.t-eyebrow::after {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
.t-eyebrow.center { justify-content: center; }
.t-eyebrow.center::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.t-display {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.t-display em { font-style: italic; color: var(--gold); }

.t-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}
.t-h2 em { font-style: italic; color: var(--gold); }

.t-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.t-h3 em { font-style: italic; color: var(--gold); }

.t-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.85;
  color: var(--ink-light);
}

.t-body {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--ink-light);
  font-weight: 300;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,146,42,0.3);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-dark);
}
.btn-outline-ink:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-arrow::after {
  content: '→';
  font-family: inherit;
  transition: transform 0.3s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 5vw;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0);
  transition: all 0.4s ease;
}
.site-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.site-nav.solid {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}
.nav-brand-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  display: block;
  transition: opacity 0.3s;
}
.nav-brand:hover .nav-brand-logo { opacity: 0.85; }
.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-brand-main {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-transform: uppercase;
}
.nav-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--ink-muted);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.nav-menu li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 0.5rem 1.2rem;
  transition: color 0.25s;
  position: relative;
}
.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 1.2rem; right: 1.2rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-menu li a:hover { color: var(--gold); }
.nav-menu li a:hover::after,
.nav-menu li a.active::after { transform: scaleX(1); }
.nav-menu li a.active { color: var(--gold); }

.nav-cta-wrap { margin-left: 2rem; }

/* mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none; border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 5vw 80px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--gold-pale) 100%);
  opacity: 0.5;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}
.page-hero-breadcrumb a { color: var(--ink-muted); transition: color 0.2s; }
.page-hero-breadcrumb a:hover { color: var(--gold); }
.page-hero-breadcrumb span { color: var(--gold); }
.page-hero-breadcrumb i { color: var(--border-dark); font-style: normal; }

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}
.section { padding: 7rem 5vw; }
.section-sm { padding: 4rem 5vw; }
.section-lg { padding: 9rem 5vw; }

/* ── DIVIDER ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem 0;
}
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-cross { color: var(--gold); font-size: 1rem; opacity: 0.7; }

/* ── CARDS ── */
.card-base {
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
}
.card-base:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-line);
  transform: translateY(-4px);
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 5rem 5vw 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand { }
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.footer-brand-tagline {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 260px;
}
.footer-cross {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,146,42,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  word-break: break-word;
  overflow-wrap: break-word;
}
.footer-contact-item span:first-child { color: var(--gold); flex-shrink: 0; }
.footer-contact-item a { color: inherit; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .section { padding: 5rem 4vw; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .nav-menu, .nav-cta-wrap { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 5vw; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .page-hero { padding: 120px 5vw 60px; }
}

/* ── MOBILE NAV OVERLAY ── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 5vw;
  background: none; border: none;
  font-size: 1.5rem;
  color: var(--ink-light);
  cursor: pointer;
}

/* ── NAV DROPDOWN ── */
.nav-menu li { position: relative; }
.nav-arrow {
  font-size: 0.48rem;
  transition: transform 0.3s;
  display: inline-block;
  margin-left: 0.2rem;
  vertical-align: middle;
}
.has-drop:hover .nav-arrow { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  min-width: 210px;
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 201;
}
.has-drop:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: none;
}
.nav-dropdown li a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.82rem;
  color: var(--ink-light);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  transition: all 0.22s;
  white-space: nowrap;
}
.nav-dropdown li a::after { display: none; }
.nav-dropdown li a:hover {
  color: var(--gold);
  padding-left: 1.8rem;
  background: var(--off-white);
}

/* ── ON-DARK nav variant (homepage hero) ── */
.site-nav.on-dark {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

.site-nav.on-dark .nav-brand-main { color: #fff; }
.site-nav.on-dark .nav-brand-sub { color: rgba(255,255,255,0.5); }
.site-nav.on-dark .nav-menu li > a { color: rgba(255,255,255,0.8); }
.site-nav.on-dark .nav-menu li > a:hover { color: var(--gold); }
.site-nav.on-dark .nav-menu li > a::after { background: var(--gold); }
.site-nav.on-dark .nav-hamburger span { background: rgba(255,255,255,0.9); }
/* Dropdown always uses dark text — white bg regardless of nav mode */
.site-nav.on-dark .nav-dropdown li a {
  color: var(--ink-light);
}
.site-nav.on-dark .nav-dropdown li a:hover {
  color: var(--gold);
  background: var(--off-white);
}

/* ── FOOTER helpers ── */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ── SECTION inner wrapper ── */
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  margin-bottom: 4rem;
}
.section-header--center { text-align: center; }
.section-header-eyebrow { margin-bottom: 1rem; }
.section-header-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.7vw, 2.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}
.section-header-title em { font-style: italic; color: var(--gold); }
.section-header-lead {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.85;
  max-width: 600px;
}
.section-header--center .section-header-lead { margin: 1rem auto 0; }

/* ── GOLD RULE ── */
.gold-rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

/* ── BUTTON ALIASES (inner pages) ── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-dark);
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── CSS VARIABLE ALIASES (inner pages use different names) ── */
:root {
  --white: #ffffff;
  --off-white: #faf7f3;
  --gold-rich: #b8922a;
  --gold-light: rgba(184,146,42,0.85);
  --text: var(--ink);
  --text-mid: var(--ink-mid);
  --text-muted: var(--ink-muted);
  --shadow-sm: 0 2px 12px rgba(24,19,13,0.07);
  --shadow-md: 0 8px 32px rgba(24,19,13,0.10);
}

/* ── LOGO ── */
.site-nav.on-dark .nav-brand-logo {
  background: rgba(255,255,255,0.92);
  border-radius: 4px;
  padding: 3px 5px;
}
.footer-ac-logo {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 1.2rem;
  background: rgba(255,255,255,0.92);
  border-radius: 6px;
  padding: 4px 6px;
}
