/* ============================================================
   ALAANU — multi-page layer (pages.css)
   Shared chrome for distinct pages: page hero, breadcrumb,
   teaser cards, God's-love band, privacy note, scripture,
   give / meaning / contact layouts, footer sitemap.
   Christian-forward · ownerless · everyone welcome.
   ============================================================ */

/* ---- Clean top: cred-bar removed, header to the top ---- */
.scroll-progress { top: 0; }
.site-header { top: 0; }
@media (max-width: 768px) { .site-header { top: 0; } }

/* ---- Cross logo (replaces cowrie) ---- */
.logo-cross {
  width: 26px;
  height: 34px;
  color: var(--gold);
  flex-shrink: 0;
}
.site-header.is-scrolled .logo-cross { color: var(--gold); }

/* ---- Busier nav → hamburger a little earlier ---- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 56px;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem;
    gap: 0.75rem;
    border-bottom: var(--border-traditional);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
}
@media (min-width: 961px) {
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.76rem; letter-spacing: 0.05em; }
}

/* current page highlight */
.nav-links a[aria-current="page"] { color: var(--gold); }
.nav-links a[aria-current="page"]::after { width: 100%; }

/* ============================================================
   PAGE HERO — inner-page banner
   ============================================================ */
.page-hero {
  position: relative;
  padding: 8.5rem 1.5rem 3.5rem;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(212,175,55,0.12), transparent 70%),
    linear-gradient(180deg, var(--indigo-deep) 0%, #0a1a2e 55%, #0c1f36 100%);
  border-bottom: 1px solid rgba(212,175,55,0.5);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(212,175,55,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 24%, rgba(212,175,55,0.10) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 74%, rgba(212,175,55,0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 22% 78%, rgba(212,175,55,0.08) 0 2px, transparent 3px);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.page-hero-cross {
  width: 34px;
  height: 44px;
  color: var(--gold-bright);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 14px rgba(212,175,55,0.4));
}

.page-eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.9rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: 0.01em;
}
.page-hero .page-yoruba {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  color: var(--gold-light);
  margin-top: 0.5rem;
}
.page-lead {
  max-width: 620px;
  margin: 1.4rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(240,230,200,0.92);
  font-weight: 300;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 1.2rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: var(--earth);
  border-bottom: 1px solid rgba(212,175,55,0.25);
  font-size: 0.78rem;
}
.breadcrumb ol {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  color: var(--gold-light);
}
.breadcrumb a { color: var(--gold-light); text-decoration: none; opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.breadcrumb a:hover { opacity: 1; color: var(--gold-bright); }
.breadcrumb li[aria-current="page"] { color: var(--gold-bright); font-weight: 600; }
.breadcrumb .sep { opacity: 0.5; }

/* ============================================================
   PROSE / generic section text
   ============================================================ */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: 1.15rem; font-size: 1.02rem; line-height: 1.85; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--earth);
  margin: 2.2rem 0 0.8rem;
}
.section-alt .prose h3 { color: var(--earth); }
.section-intro {
  max-width: 640px;
  margin: -0.5rem auto 2.5rem;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--bronze);
}
.section-dark .section-intro { color: rgba(240,230,200,0.85); }

/* ============================================================
   DARK section variant (for navy content blocks)
   ============================================================ */
.section-dark {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,0.06), transparent),
    linear-gradient(180deg, var(--indigo-deep) 0%, #0a1628 100%);
  color: var(--cream);
}
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-label { color: var(--gold-bright); }
.section-dark .section-ornament { color: var(--gold-bright); }

/* ============================================================
   HOME TEASER CARDS — links to distinct pages
   ============================================================ */
.home-teasers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
  max-width: 1140px;
  margin: 0 auto;
}
.teaser-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid rgba(212,175,55,0.4);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s, border-color 0.4s;
}
.teaser-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-shimmer));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-premium);
}
.teaser-card:hover { transform: translateY(-8px); box-shadow: var(--shadow), var(--shadow-gold); border-color: var(--gold-bright); }
.teaser-card:hover::before { transform: scaleX(1); }
.teaser-icon {
  width: 40px; height: 40px;
  color: var(--gold);
  margin-bottom: 1rem;
}
.teaser-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--earth);
  margin-bottom: 0.5rem;
}
.teaser-yoruba {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.75rem;
}
.teaser-card p { font-size: 0.92rem; line-height: 1.65; opacity: 0.85; flex-grow: 1; }
.teaser-more {
  margin-top: 1.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.teaser-more::after { content: " →"; transition: margin 0.2s; }
.teaser-card:hover .teaser-more::after { margin-left: 4px; }

/* ============================================================
   GOD'S-LOVE BAND / inclusive banner
   ============================================================ */
.love-band {
  position: relative;
  padding: 4.5rem 1.5rem;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,175,55,0.14), transparent 70%),
    linear-gradient(135deg, #0a1a2e 0%, var(--indigo-deep) 100%);
  border-top: 1px solid rgba(212,175,55,0.5);
  border-bottom: 1px solid rgba(212,175,55,0.5);
}
.love-band-cross {
  width: 30px; height: 40px; color: var(--gold-bright);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.45));
}
.love-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 600;
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}
.love-band p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(240,230,200,0.9);
  font-weight: 300;
}
.love-band .scripture-ref {
  display: inline-block;
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
}

/* Everyone-welcome chip row */
.welcome-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}
.welcome-chip {
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(212,175,55,0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  background: rgba(212,175,55,0.06);
}

/* ============================================================
   SCRIPTURE blocks
   ============================================================ */
.scripture {
  max-width: 720px;
  margin: 2.5rem auto;
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--gold);
  background: rgba(212,175,55,0.06);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--earth);
}
.section-dark .scripture, .love-band .scripture { color: var(--gold-light); background: rgba(212,175,55,0.08); }
.scripture cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   PRIVACY / members-private note
   ============================================================ */
.privacy-note {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.3);
  position: relative;
}
.privacy-note::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(212,175,55,0.12);
  pointer-events: none;
}
.privacy-note .privacy-icon { width: 42px; height: 42px; color: var(--gold-bright); margin-bottom: 1rem; }
.privacy-note h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
}
.privacy-note p { color: rgba(240,230,200,0.85); line-height: 1.8; font-weight: 300; }
.privacy-note em { color: var(--gold-light); font-style: italic; }

/* ============================================================
   MEANING page — word breakdown / definitions
   ============================================================ */
.word-hero {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.word-big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
}
.word-phonetic {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--bronze);
}
.word-pos {
  display: block;
  margin-top: 0.25rem;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--earth);
}
.word-breakdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto 1rem;
}
.morph {
  flex: 1 1 160px;
  max-width: 220px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(212,175,55,0.4);
  border-top: 3px solid var(--gold-bright);
}
.morph-part { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); font-weight: 600; }
.morph-gloss { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); margin: 0.4rem 0 0.6rem; }
.morph p { font-size: 0.86rem; line-height: 1.6; opacity: 0.85; }

.def-list { max-width: 760px; margin: 0 auto; display: grid; gap: 1rem; }
.def-card {
  padding: 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid rgba(212,175,55,0.35);
  border-left: 4px solid var(--gold);
}
.def-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--earth); margin-bottom: 0.35rem; }
.def-card p { font-size: 0.96rem; line-height: 1.75; opacity: 0.9; }
.def-card .def-usage { font-style: italic; color: var(--bronze); margin-top: 0.5rem; font-size: 0.9rem; }

/* ============================================================
   GIVE / GET INVOLVED page
   ============================================================ */
.give-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  max-width: 1080px;
  margin: 0 auto 3rem;
}
.give-card {
  padding: 2.25rem 1.75rem;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.3);
  position: relative;
  transition: transform 0.4s var(--ease-premium), border-color 0.4s, box-shadow 0.4s;
}
.give-card:hover { transform: translateY(-6px); border-color: rgba(212,175,55,0.6); box-shadow: 0 20px 48px rgba(0,0,0,0.25), var(--shadow-gold); }
.give-icon { width: 46px; height: 46px; color: var(--gold-bright); margin-bottom: 1.1rem; }
.give-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.give-card p { font-size: 0.92rem; line-height: 1.7; color: rgba(240,230,200,0.82); font-weight: 300; }

.give-steps {
  max-width: 720px;
  margin: 0 auto;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}
.give-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.4rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.25);
  text-align: left;
}
.give-step::before {
  counter-increment: step;
  content: counter(step, upper-roman);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  flex-shrink: 0;
  width: 2.2rem;
  text-align: center;
}
.give-step h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--gold-light); margin-bottom: 0.25rem; }
.give-step p { font-size: 0.9rem; line-height: 1.65; color: rgba(240,230,200,0.82); }

/* Placeholder callout (for the user to fill in real details) */
.fill-note {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 1.1rem 1.4rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(240,230,200,0.7);
  border: 1px dashed rgba(212,175,55,0.4);
  border-radius: 4px;
  text-align: center;
}

/* ============================================================
   CONTACT page channels
   ============================================================ */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  max-width: 900px;
  margin: 0 auto;
}
.channel {
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.3);
}
.channel-icon { width: 40px; height: 40px; color: var(--gold-bright); margin-bottom: 0.9rem; }
.channel h3 { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-light); margin-bottom: 0.4rem; }
.channel p { font-size: 0.9rem; line-height: 1.6; color: rgba(240,230,200,0.82); }
.channel a { color: var(--gold-bright); text-decoration: none; word-break: break-word; }
.channel a:hover { text-decoration: underline; }

/* ============================================================
   FOOTER SITEMAP
   ============================================================ */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.25);
}
.footer-about .logo-text { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.22em; color: var(--gold-bright); }
.footer-about p { font-size: 0.9rem; line-height: 1.7; color: var(--cream-dark); margin-top: 0.75rem; max-width: 340px; }
.footer-about .footer-scripture { font-family: var(--font-display); font-style: italic; color: var(--gold-light); margin-top: 1rem; }
.footer-nav h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; }
.footer-nav a { color: var(--cream-dark); text-decoration: none; font-size: 0.9rem; line-height: 2.1; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-bright); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; text-align: center; }
  .footer-about p, .footer-about .footer-scripture { margin-left: auto; margin-right: auto; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .give-step { flex-direction: column; align-items: center; text-align: center; }
}

/* ============================================================
   Reveal helpers already defined in styles.css; add page-hero anim
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .teaser-card:hover, .give-card:hover, .channel:hover { transform: none; }
}
