/* ALAANU — Premium layer */

.scroll-progress {
  position: fixed;
  top: 6px;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 102;
  background: linear-gradient(90deg, var(--gold), var(--gold-shimmer), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
  transition: width 0.08s linear;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.65rem 1.25rem;
  background: var(--gold-bright);
  color: var(--earth);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.skip-link:focus {
  top: 1rem;
}

.site-header.is-scrolled {
  background: rgba(250, 246, 240, 0.96);
  box-shadow: 0 4px 24px rgba(8, 20, 32, 0.1);
}

.site-header.is-scrolled .nav {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.cred-bar {
  position: fixed;
  top: 6px;
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.5rem;
  background: linear-gradient(90deg, var(--indigo-deep), var(--earth), var(--indigo-deep));
  color: var(--gold-light);
  text-align: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.cred-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  background: rgba(8, 20, 32, 0.35);
}

.cred-bar strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.site-header {
  top: calc(6px + 2.75rem);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, rgba(212, 175, 55, 0.08), transparent 70%);
  pointer-events: none;
}

.impact-strip {
  position: relative;
  z-index: 1;
  background: var(--earth);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}

.impact-item {
  padding: 2rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.impact-item:last-child {
  border-right: none;
}

.impact-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
}

.impact-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0.9;
}

.programmes-intro {
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  text-align: center;
  color: var(--earth);
}

.programmes-showcase .section-header h2 {
  color: var(--earth);
}

.programmes-showcase .section-label {
  color: var(--bronze);
}

.programmes-showcase {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--white) 50%, var(--cream-dark) 100%);
}

.programmes-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.prog-card {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  background: var(--white);
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-align: center;
  transition: transform 0.4s var(--ease-premium), box-shadow 0.4s;
  overflow: hidden;
}

.prog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-shimmer));
}

.prog-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

.prog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow), var(--shadow-gold);
}

.prog-icon {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.3em;
}

.prog-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--earth);
  margin-bottom: 0.5rem;
}

.prog-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.88;
}

.prog-card .prog-founder {
  display: block;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px dotted rgba(139, 90, 43, 0.35);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
}

.prog-card-featured {
  background: linear-gradient(165deg, #fffef9 0%, #f8f2e4 100%);
  border-color: var(--gold-bright);
}

.section-header.ornate h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.section-header.ornate:not(.centered) h2::after {
  margin-left: 0;
}

.traditional-card {
  transition: transform 0.35s var(--ease-premium), box-shadow 0.35s;
}

.value-card:hover,
.pillar:hover:not(.pillar-featured) {
  transform: translateY(-6px);
}

.site-footer {
  padding-bottom: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.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;
  columns: 2;
  column-gap: 1.5rem;
}

.footer-nav a {
  color: var(--cream-dark);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 2;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.footer-seo {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(235, 227, 200, 0.55);
  max-width: 640px;
  margin: 1.5rem auto 0;
}

.founder-card {
  max-width: 820px;
}

.founder-proverb,
.faith-verse {
  margin: 1.25rem 0 0;
  padding: 0;
  border: none;
}

.founder-proverb p,
.faith-verse p {
  margin: 0;
}

.faith-p {
  margin-top: 1rem;
}

.section-faith .faith-card {
  max-width: 820px;
}

#faith h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
}

.section-faq {
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.faq-item:first-child {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.faq-item dt {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--earth);
  margin-bottom: 0.5rem;
}

.faq-item dd {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.9;
  margin: 0;
}

.prog-card:nth-child(1) { transition-delay: 0.05s; }
.prog-card:nth-child(2) { transition-delay: 0.1s; }
.prog-card:nth-child(3) { transition-delay: 0.15s; }
.prog-card:nth-child(4) { transition-delay: 0.2s; }

.impact-item:nth-child(1) .impact-num { animation: impact-glow 4s ease-in-out infinite; }
.impact-item:nth-child(2) .impact-num { animation: impact-glow 4s ease-in-out 0.5s infinite; }

@keyframes impact-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.45); }
}

@media (max-width: 768px) {
  .nav-links {
    top: 7.25rem;
  }

  .cred-bar {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    padding: 0.45rem 0.75rem;
  }

  .site-header {
    top: calc(6px + 2rem);
  }
}

@media (max-width: 900px) {
  .programmes-grid,
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-item:nth-child(2) {
    border-right: none;
  }

  .impact-item:nth-child(1),
  .impact-item:nth-child(2) {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav ul {
    columns: 1;
  }
}

@media (max-width: 520px) {
  .programmes-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-item {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  }

  .impact-item:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    display: none;
  }

  .prog-card:hover,
  .value-card:hover,
  .pillar:hover {
    transform: none;
  }
}
