/*
  Hostinger-safe final rendering layer.
  Keep this file simple: plain CSS only, loaded after styles.css.
*/

.bismillah {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  width: min(100% - 2rem, 46rem) !important;
  margin: 1.25rem auto 0.85rem !important;
  padding: 0 !important;
  text-align: center !important;
}

.bismillah__rule {
  display: block !important;
  flex: 1 1 4rem !important;
  max-width: 9rem !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, #c9a868, transparent) !important;
}

.bismillah__arabic {
  display: block !important;
  font-family: "Amiri", Georgia, serif !important;
  font-size: clamp(1.25rem, 3.5vw, 1.9rem) !important;
  line-height: 1.25 !important;
  color: #9f762d !important;
  white-space: normal !important;
}

.mission-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1.25rem !important;
  width: 100% !important;
  padding: clamp(1.25rem, 4vw, 2.25rem) !important;
  border: 1px solid #e7dcc6 !important;
  border-radius: 1.4rem !important;
  background: linear-gradient(135deg, #fffaf0 0%, #f7edda 58%, #eef5ef 100%) !important;
  box-shadow: 0 22px 60px rgba(37, 50, 39, 0.09) !important;
}

.mission-panel__copy {
  min-width: 0 !important;
}

.mission-panel h2 {
  margin: 0.35rem 0 0.75rem !important;
  max-width: 52rem !important;
}

.mission-panel p {
  max-width: 70rem !important;
}

.mission-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  align-self: stretch !important;
}

.mission-stat {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 7.2rem !important;
  padding: 1rem !important;
  border: 1px solid rgba(164, 129, 66, 0.28) !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: 0 14px 34px rgba(46, 61, 48, 0.08) !important;
}

.mission-stat strong {
  display: block !important;
  margin: 0 0 0.35rem !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(2rem, 5vw, 3.2rem) !important;
  line-height: 0.95 !important;
  color: #19352b !important;
}

.mission-stat span {
  display: block !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #657565 !important;
}

.section--pathways {
  padding-top: clamp(2.5rem, 6vw, 5rem) !important;
}

.pathways-panel {
  display: grid !important;
  gap: 1.4rem !important;
  padding: clamp(1.2rem, 4vw, 2rem) !important;
  border: 1px solid #e7dcc6 !important;
  border-radius: 1.3rem !important;
  background: #fffaf1 !important;
}

.pathways-panel__head {
  max-width: 58rem !important;
}

.pathways-panel__head h2 {
  margin: 0.35rem 0 0.65rem !important;
}

.pathways-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.9rem !important;
}

.pathway-card {
  display: block !important;
  min-width: 0 !important;
  padding: 1rem !important;
  border: 1px solid rgba(164, 129, 66, 0.22) !important;
  border-radius: 1rem !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(35, 48, 38, 0.08) !important;
}

.pathway-card__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.4rem !important;
  height: 2.4rem !important;
  margin-bottom: 0.75rem !important;
  border-radius: 999px !important;
  background: #eaf3eb !important;
  color: #174238 !important;
}

.pathway-card h3 {
  margin: 0 0 0.45rem !important;
}

.pathway-card p {
  margin: 0 !important;
}

.bd-faq {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 !important;
  background: #f8f2e7 !important;
}

.bd-faq__inner {
  width: min(100% - 2rem, 56rem) !important;
  margin: 0 auto !important;
}

.bd-faq__title {
  margin: 0 0 1rem !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: clamp(1.75rem, 4vw, 2.6rem) !important;
  color: #142d25 !important;
}

.bd-faq__list {
  display: grid !important;
  gap: 0.75rem !important;
}

.bd-faq__item {
  display: block !important;
  padding: 0 !important;
  border: 1px solid rgba(164, 129, 66, 0.24) !important;
  border-radius: 1rem !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 16px 34px rgba(36, 48, 39, 0.08) !important;
  overflow: hidden !important;
}

.bd-faq__q {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  width: 100% !important;
  padding: 1rem 1.1rem !important;
  list-style: none !important;
  cursor: pointer !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  color: #17342b !important;
}

.bd-faq__q::-webkit-details-marker {
  display: none !important;
}

.bd-faq__q::marker {
  content: "" !important;
}

.bd-faq__q::after {
  content: "+" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  width: 1.65rem !important;
  height: 1.65rem !important;
  border-radius: 999px !important;
  background: #efe3c9 !important;
  color: #17342b !important;
  font-weight: 900 !important;
}

.bd-faq__item[open] .bd-faq__q::after {
  content: "-" !important;
}

.bd-faq__a {
  display: block !important;
  padding: 0 1.1rem 1rem !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 0.96rem !important;
  line-height: 1.7 !important;
  color: #556457 !important;
}

.social-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.55rem !important;
  margin-top: 0.8rem !important;
}

.social-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.35rem !important;
  padding: 0.62rem 0.95rem !important;
  border: 1px solid rgba(164, 129, 66, 0.28) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #17342b !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.form__download-button {
  appearance: none !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #174238 !important;
  cursor: pointer !important;
  font: inherit !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-underline-offset: 0.18em !important;
}

.form__download-button:hover {
  color: #9f762d !important;
}

.site-footer__grid {
  align-items: start !important;
}

.bd-hero {
  background: linear-gradient(135deg, var(--bd-from, #173f3a), var(--bd-to, #c9a34f)) !important;
}

.bd-hero__promise span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 2.25rem !important;
  padding: 0.55rem 0.85rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff8e7 !important;
  font-weight: 800 !important;
}

.bd-hero__cta .btn,
.bd-cta .btn {
  min-height: 3rem !important;
  font-weight: 900 !important;
}

@media (min-width: 900px) {
  .mission-panel {
    grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr) !important;
    align-items: center !important;
  }

  .mission-stats {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  .pathways-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .bismillah {
    gap: 0.6rem !important;
    width: min(100% - 1rem, 34rem) !important;
  }

  .bismillah__rule {
    max-width: 2.5rem !important;
  }

  .mission-panel {
    padding: 1.1rem !important;
    border-radius: 1rem !important;
  }

  .mission-stats,
  .pathways-grid {
    grid-template-columns: 1fr !important;
  }

  .mission-stat {
    min-height: auto !important;
    padding: 0.9rem !important;
  }

  .pathways-panel {
    padding: 1rem !important;
  }

  .bd-faq__inner {
    width: min(100% - 1rem, 56rem) !important;
  }

  .bd-faq__q {
    padding: 0.9rem !important;
  }

  .bd-faq__a {
    padding: 0 0.9rem 0.9rem !important;
  }
}

/* Premium living Bismillah moment -------------------------------------- */
.bismillah.bismillah-moment {
  --mx: 0;
  --my: 0;
  display: grid !important;
  place-items: center !important;
  position: relative !important;
  width: min(100% - 2rem, 58rem) !important;
  min-height: clamp(8.5rem, 20vw, 12.5rem) !important;
  margin: 1rem auto 1.15rem !important;
  padding: clamp(1rem, 3vw, 1.55rem) !important;
  overflow: hidden !important;
  border: 1px solid rgba(201, 168, 104, 0.34) !important;
  border-radius: 1.6rem !important;
  background:
    radial-gradient(circle at calc(50% + (var(--mx) * 18px)) calc(40% + (var(--my) * 14px)), rgba(255, 236, 171, 0.72), transparent 34%),
    linear-gradient(135deg, #fffaf1 0%, #f7ecd5 52%, #edf5ef 100%) !important;
  box-shadow: 0 20px 54px rgba(43, 58, 47, 0.1) !important;
  isolation: isolate !important;
}

.bismillah-moment__sky {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.bismillah-moment__glow {
  position: absolute !important;
  width: 15rem !important;
  height: 15rem !important;
  left: calc(50% - 7.5rem + (var(--mx) * 18px)) !important;
  top: calc(50% - 7.5rem + (var(--my) * 12px)) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(238, 197, 96, 0.42), transparent 64%) !important;
  filter: blur(4px) !important;
  opacity: 0.9 !important;
  transition: left 0.18s ease-out, top 0.18s ease-out !important;
  animation: bismillah-glow-drift 8s ease-in-out infinite !important;
}

.bismillah-moment__crescent {
  position: absolute !important;
  right: clamp(1.15rem, 5vw, 3rem) !important;
  top: clamp(0.9rem, 3vw, 1.55rem) !important;
  width: clamp(2rem, 5vw, 3rem) !important;
  height: clamp(2rem, 5vw, 3rem) !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #d4b15b, #fff0b8) !important;
  box-shadow: 0 0 30px rgba(223, 183, 86, 0.38) !important;
  transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -6px)) !important;
}

.bismillah-moment__crescent::after {
  content: "" !important;
  position: absolute !important;
  width: 82% !important;
  height: 82% !important;
  right: -7% !important;
  top: -4% !important;
  border-radius: 50% !important;
  background: #fffaf1 !important;
}

.bismillah-moment__content {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  justify-items: center !important;
  gap: 0.45rem !important;
  max-width: 44rem !important;
  text-align: center !important;
  transform: translate(calc(var(--mx) * -4px), calc(var(--my) * -3px)) !important;
  transition: transform 0.18s ease-out !important;
}

.bismillah-moment__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.9rem !important;
  padding: 0.36rem 0.8rem !important;
  border: 1px solid rgba(201, 168, 104, 0.45) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.64) !important;
  color: #63735f !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.22em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.bismillah-moment .bismillah__arabic,
.bismillah-moment__arabic {
  display: block !important;
  color: #9f762d !important;
  font-family: "Amiri", Georgia, serif !important;
  font-size: clamp(2rem, 6.5vw, 4.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72), 0 0 28px rgba(223, 183, 86, 0.18) !important;
}

.bismillah-moment__meaning {
  display: block !important;
  max-width: 34rem !important;
  color: #526153 !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: clamp(0.88rem, 2vw, 1.02rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

.bismillah-star {
  position: absolute !important;
  width: var(--size, 0.72rem) !important;
  height: var(--size, 0.72rem) !important;
  color: #c9a868 !important;
  opacity: var(--alpha, 0.78) !important;
  transform: translate(calc(var(--mx) * var(--move-x, 10px)), calc(var(--my) * var(--move-y, 8px))) scale(var(--scale, 1)) !important;
  transition: transform 0.16s ease-out, opacity 0.16s ease-out, filter 0.16s ease-out !important;
  animation: bismillah-star-breathe var(--speed, 4.5s) ease-in-out infinite !important;
}

.bismillah-star::before {
  content: "" !important;
  position: absolute !important;
  inset: 14% !important;
  background: currentColor !important;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%) !important;
  filter: drop-shadow(0 0 7px rgba(220, 176, 76, 0.36)) !important;
}

.bismillah-star--1 { --size: 1rem; --move-x: -16px; --move-y: -9px; --speed: 4.2s; left: 10%; top: 24%; }
.bismillah-star--2 { --size: 0.58rem; --move-x: 14px; --move-y: -12px; --speed: 5.2s; left: 22%; top: 68%; }
.bismillah-star--3 { --size: 0.76rem; --move-x: -10px; --move-y: 15px; --speed: 4.8s; left: 34%; top: 18%; }
.bismillah-star--4 { --size: 1.08rem; --move-x: 18px; --move-y: 9px; --speed: 5.6s; right: 18%; top: 22%; }
.bismillah-star--5 { --size: 0.64rem; --move-x: -12px; --move-y: 13px; --speed: 4.9s; right: 10%; bottom: 26%; }
.bismillah-star--6 { --size: 0.82rem; --move-x: 9px; --move-y: -16px; --speed: 5.4s; left: 16%; bottom: 18%; }
.bismillah-star--7 { --size: 0.52rem; --move-x: -18px; --move-y: 8px; --speed: 4.4s; right: 32%; bottom: 16%; }
.bismillah-star--8 { --size: 0.68rem; --move-x: 13px; --move-y: 12px; --speed: 5.8s; left: 48%; top: 12%; }

.bismillah.bismillah-moment.is-mouse-near .bismillah-star {
  --scale: 1.18;
  opacity: 1 !important;
  filter: drop-shadow(0 0 10px rgba(220, 176, 76, 0.52)) !important;
}

@keyframes bismillah-star-breathe {
  0%, 100% { opacity: var(--alpha, 0.72); }
  50% { opacity: 1; }
}

@media (max-width: 640px) {
  .bismillah.bismillah-moment {
    width: min(100% - 1rem, 36rem) !important;
    min-height: 10.5rem !important;
    margin-top: 0.8rem !important;
    border-radius: 1.25rem !important;
  }

  .bismillah-moment__eyebrow {
    font-size: 0.62rem !important;
    letter-spacing: 0.16em !important;
  }

  .bismillah-moment__crescent {
    opacity: 0.8 !important;
  }

  .bismillah-star--1,
  .bismillah-star--4 {
    opacity: 0.58 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bismillah-star,
  .bismillah-moment__content,
  .bismillah-moment__glow,
  .bismillah-moment__crescent {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Final targeted polish for ads-ready baseline ------------------------- */
.menu-toggle {
  display: inline-grid !important;
}

@media (min-width: 1024px) {
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .site-header__inner {
    padding-inline: clamp(0.9rem, 4vw, 1.4rem) !important;
  }

  .mobile-nav:not([hidden]) {
    display: grid !important;
  }
}

.bismillah.bismillah-moment {
  padding-block: clamp(1.15rem, 3vw, 1.65rem) !important;
}

.bismillah-moment .bismillah__arabic,
.bismillah-moment__arabic {
  line-height: 1.4 !important;
  padding-top: 0.08em !important;
}

.books-grid {
  justify-items: center !important;
}

.book-card {
  width: 100% !important;
}

@media (max-width: 639px) {
  .section-header,
  .section-header--reviews {
    text-align: center !important;
  }

  .section-header__copy,
  .section-header__link {
    margin-inline: auto !important;
  }
}

/* Refined Bismillah v2: quieter, premium, less decorative --------------- */
.bismillah.bismillah-moment {
  width: min(100% - 2rem, 52rem) !important;
  min-height: clamp(6.5rem, 16vw, 9.25rem) !important;
  margin: 0.9rem auto 1rem !important;
  padding: clamp(1rem, 3vw, 1.45rem) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(ellipse at calc(50% + (var(--mx) * 42px)) calc(52% + (var(--my) * 24px)), rgba(218, 178, 91, 0.3), transparent 52%),
    linear-gradient(90deg, transparent, rgba(210, 184, 128, 0.16), transparent) !important;
  box-shadow: none !important;
}

.bismillah.bismillah-moment::before,
.bismillah.bismillah-moment::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  width: clamp(3rem, 14vw, 9rem) !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(182, 144, 72, 0.52), transparent) !important;
  opacity: 0.72 !important;
  transform: translateY(-50%) !important;
  z-index: 1 !important;
}

.bismillah.bismillah-moment::before {
  left: 0 !important;
}

.bismillah.bismillah-moment::after {
  right: 0 !important;
}

.bismillah-moment__sky {
  opacity: 1 !important;
}

.bismillah-moment__glow {
  width: 18rem !important;
  height: 8rem !important;
  left: calc(50% - 9rem + (var(--mx) * 42px)) !important;
  top: calc(50% - 4rem + (var(--my) * 22px)) !important;
  border-radius: 999px !important;
  background: radial-gradient(ellipse, rgba(225, 184, 90, 0.26), transparent 68%) !important;
  filter: blur(8px) !important;
}

.bismillah-moment__halo {
  position: absolute !important;
  left: calc(50% - 10.5rem + (var(--mx) * -24px)) !important;
  top: calc(50% - 2.2rem + (var(--my) * -12px)) !important;
  width: 21rem !important;
  height: 4.4rem !important;
  border: 1px solid rgba(194, 153, 76, 0.18) !important;
  border-radius: 50% !important;
  opacity: 0.65 !important;
  transform: rotate(-2deg) !important;
  animation: bismillah-halo-breathe 7s ease-in-out infinite !important;
}

.bismillah-light {
  position: absolute !important;
  width: 0.38rem !important;
  height: 0.38rem !important;
  border-radius: 50% !important;
  background: #c9a868 !important;
  opacity: 0.62 !important;
  box-shadow: 0 0 16px rgba(214, 172, 80, 0.55) !important;
  transform: translate(calc(var(--mx) * var(--move-x, 18px)), calc(var(--my) * var(--move-y, 12px))) !important;
  animation: bismillah-light-pulse var(--speed, 5.8s) ease-in-out infinite !important;
}

.bismillah-light--1 {
  --move-x: -32px;
  --move-y: 18px;
  --speed: 6.2s;
  left: 18%;
  top: 34%;
}

.bismillah-light--2 {
  --move-x: 28px;
  --move-y: -22px;
  --speed: 7s;
  right: 20%;
  top: 31%;
}

.bismillah-light--3 {
  --move-x: 22px;
  --move-y: 26px;
  --speed: 6.6s;
  left: 50%;
  bottom: 18%;
}

.bismillah-moment__content {
  gap: 0.7rem !important;
  transform: translate(calc(var(--mx) * -10px), calc(var(--my) * -6px)) !important;
}

.bismillah-moment .bismillah__arabic,
.bismillah-moment__arabic {
  font-size: clamp(2rem, 5.4vw, 3.5rem) !important;
  color: #8f6828 !important;
  line-height: 1.25 !important;
  padding-bottom: 0.12em !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.78), 0 0 24px rgba(207, 166, 77, 0.14) !important;
}

.bismillah-moment__meaning {
  max-width: 30rem !important;
  color: #6b7469 !important;
  font-size: clamp(0.8rem, 1.8vw, 0.95rem) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  margin-top: 0.05rem !important;
}

.bismillah.bismillah-moment.is-mouse-near .bismillah-light {
  opacity: 0.92 !important;
  box-shadow: 0 0 20px rgba(214, 172, 80, 0.72) !important;
}

.bismillah.bismillah-moment.is-mouse-near .bismillah-moment__arabic {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.84), 0 0 34px rgba(207, 166, 77, 0.36) !important;
}

.bismillah.bismillah-moment:hover .bismillah-light {
  opacity: 0.98 !important;
  box-shadow: 0 0 22px rgba(214, 172, 80, 0.78) !important;
}

.bismillah.bismillah-moment:hover .bismillah-moment__arabic {
  color: #805a1f !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.84), 0 0 38px rgba(207, 166, 77, 0.42) !important;
}

@keyframes bismillah-halo-breathe {
  0%, 100% { opacity: 0.42; transform: rotate(-2deg) scaleX(0.96); }
  50% { opacity: 0.76; transform: rotate(-2deg) scaleX(1); }
}

@keyframes bismillah-glow-drift {
  0%, 100% { opacity: 0.62; filter: blur(9px); }
  45% { opacity: 0.92; filter: blur(6px); }
  70% { opacity: 0.74; filter: blur(10px); }
}

@keyframes bismillah-light-pulse {
  0%, 100% { opacity: 0.38; transform: translate(calc(var(--mx) * var(--move-x, 18px)), calc(var(--my) * var(--move-y, 12px))) scale(0.88); }
  50% { opacity: 0.92; transform: translate(calc(var(--mx) * var(--move-x, 18px)), calc(var(--my) * var(--move-y, 12px))) scale(1.28); }
}

@media (max-width: 640px) {
  .bismillah.bismillah-moment {
    width: min(100% - 1.25rem, 34rem) !important;
    min-height: 8.8rem !important;
    margin: 0.65rem auto 0.85rem !important;
    padding-inline: 1.2rem !important;
  }

  .bismillah-moment__content {
    gap: 0.85rem !important;
  }

  .bismillah-moment .bismillah__arabic,
  .bismillah-moment__arabic {
    font-size: clamp(1.75rem, 8vw, 2.45rem) !important;
    line-height: 1.32 !important;
  }

  .bismillah.bismillah-moment::before,
  .bismillah.bismillah-moment::after {
    width: 2.8rem !important;
    opacity: 0.45 !important;
  }

  .bismillah-moment__halo {
    width: 15rem !important;
    left: calc(50% - 7.5rem + (var(--mx) * -6px)) !important;
  }

  .bismillah-light--1,
  .bismillah-light--2 {
    opacity: 0.42 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bismillah-moment__halo,
  .bismillah-light {
    animation: none !important;
  }
}

/* Mobile header: keep the Free Gift CTA visible ------------------------- */
.site-header__inner {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.brand {
  min-width: 0 !important;
}

.brand__wordmark {
  min-width: 0 !important;
}

.btn--ghost-header {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.btn--ghost-header .btn__label {
  display: inline !important;
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 0 !important;
  }

  .site-header .container {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 0.9rem !important;
  }

  .site-header__inner {
    min-height: 4.15rem !important;
    padding-block: 0.55rem !important;
    gap: 0.65rem !important;
  }

  .brand {
    flex: 1 1 auto !important;
    gap: 0.55rem !important;
    min-width: 0 !important;
  }

  .brand__mark {
    width: 2.55rem !important;
    height: 2.55rem !important;
    flex: 0 0 auto !important;
  }

  .brand__wordmark {
    max-width: calc(100vw - 12.6rem) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: clamp(0.98rem, 4vw, 1.12rem) !important;
    line-height: 1.05 !important;
  }

  .brand__dua,
  .site-nav {
    display: none !important;
  }

  .btn--ghost-header {
    min-height: 2.5rem !important;
    padding: 0.64rem 0.82rem !important;
    font-size: 0.76rem !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(42, 53, 44, 0.08) !important;
  }
}

@media (max-width: 370px) {
  .site-header .container {
    padding-inline: 0.72rem !important;
  }

  .brand__mark {
    width: 2.35rem !important;
    height: 2.35rem !important;
  }

  .brand__wordmark {
    max-width: calc(100vw - 11.4rem) !important;
    font-size: 0.94rem !important;
  }

  .btn--ghost-header {
    min-height: 2.35rem !important;
    padding-inline: 0.68rem !important;
    font-size: 0.72rem !important;
  }
}

/* Homepage liveness: calm motion without clutter ------------------------ */
.hero__shell {
  animation: hero-shell-breathe 9s ease-in-out infinite !important;
}

.hero-sky {
  animation: hero-sky-drift 14s ease-in-out infinite !important;
}

.hero__title {
  text-wrap: balance;
}

@keyframes hero-shell-breathe {
  0%, 100% { box-shadow: 0 26px 80px rgba(43, 58, 47, 0.1); }
  50% { box-shadow: 0 30px 92px rgba(43, 58, 47, 0.16); }
}

@keyframes hero-sky-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-0.7rem, 0.35rem, 0) scale(1.015); }
}

@media (max-width: 640px) {
  .hero-sky__cloud {
    animation: hero-cloud-drift 44s linear infinite !important;
  }

  .hero-sky__star {
    animation: hero-star-twinkle 3.6s ease-in-out infinite !important;
  }

  .hero-sky__moon {
    animation: hero-moon-glow 6s ease-in-out infinite !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__shell,
  .hero-sky,
  .hero-sky__cloud,
  .hero-sky__star,
  .hero-sky__moon {
    animation: none !important;
  }
}

/* Cursor-reactive homepage atmosphere ---------------------------------- */
body.home-interactive {
  --home-x: 50vw;
  --home-y: 28vh;
  --home-mx: 0;
  --home-my: 0;
}

body.home-interactive::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at var(--home-x) var(--home-y), rgba(210, 171, 80, 0.3), transparent 13rem),
    radial-gradient(circle at calc(var(--home-x) + 10rem) calc(var(--home-y) + 7rem), rgba(76, 115, 88, 0.16), transparent 18rem) !important;
  opacity: 0.86 !important;
  transition: opacity 0.35s ease !important;
}

body.home-interactive.is-cursor-active::before {
  opacity: 1 !important;
}

body.home-interactive .site-header,
body.home-interactive main,
body.home-interactive .site-footer {
  position: relative !important;
  z-index: 1 !important;
}

body.home-interactive .hero__shell {
  transform: translate3d(calc(var(--home-mx) * 12px), calc(var(--home-my) * 7px), 0) !important;
  transition: transform 0.18s ease-out, box-shadow 0.35s ease !important;
}

body.home-interactive .hero__copy {
  transform: translate3d(calc(var(--home-mx) * -14px), calc(var(--home-my) * -8px), 0) !important;
  transition: transform 0.16s ease-out !important;
}

body.home-interactive .hero__visual {
  transform: translate3d(calc(var(--home-mx) * 28px), calc(var(--home-my) * 18px), 0) rotate(calc(var(--home-mx) * 1.6deg)) !important;
  transition: transform 0.16s ease-out !important;
}

body.home-interactive .hero-sky__moon {
  transform: translate3d(calc(var(--home-mx) * -34px), calc(var(--home-my) * -22px), 0) !important;
}

body.home-interactive .hero-sky__cloud--1 {
  transform: translate3d(calc(var(--home-mx) * 34px), calc(var(--home-my) * 18px), 0) !important;
}

body.home-interactive .hero-sky__cloud--2 {
  transform: translate3d(calc(var(--home-mx) * -42px), calc(var(--home-my) * 22px), 0) !important;
}

body.home-interactive .hero-sky__cloud--3 {
  transform: translate3d(calc(var(--home-mx) * 24px), calc(var(--home-my) * -20px), 0) !important;
}

body.home-interactive .hero-sky__star {
  filter: drop-shadow(0 0 12px rgba(214, 172, 80, 0.55)) !important;
}

body.home-interactive .mission-panel,
body.home-interactive .pathways-panel,
body.home-interactive .paper-panel {
  transition: transform 0.18s ease-out, box-shadow 0.28s ease !important;
}

body.home-interactive.is-cursor-active .mission-panel,
body.home-interactive.is-cursor-active .pathways-panel,
body.home-interactive.is-cursor-active .paper-panel {
  box-shadow: 0 24px 70px rgba(43, 58, 47, 0.13) !important;
}

body.home-interactive .mission-panel {
  transform: translate3d(calc(var(--home-mx) * -3px), calc(var(--home-my) * 2px), 0) !important;
}

body.home-interactive .pathways-panel {
  transform: translate3d(calc(var(--home-mx) * 4px), calc(var(--home-my) * -2px), 0) !important;
}

.home-cursor-glint {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 30 !important;
  width: 0.62rem !important;
  height: 0.62rem !important;
  pointer-events: none !important;
  opacity: 0 !important;
  color: #c89a43 !important;
  background: currentColor !important;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%) !important;
  filter: drop-shadow(0 0 10px rgba(206, 158, 64, 0.65)) !important;
  transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease !important;
}

body.is-cursor-active .home-cursor-glint {
  opacity: 0.88 !important;
}

.home-cursor-glint--main {
  width: 0.9rem !important;
  height: 0.9rem !important;
}

.home-cursor-glint--a {
  width: 0.42rem !important;
  height: 0.42rem !important;
  opacity: 0 !important;
}

.home-cursor-glint--b {
  width: 0.34rem !important;
  height: 0.34rem !important;
  color: #d8ba6d !important;
}

.home-cursor-glint--c {
  width: 0.25rem !important;
  height: 0.25rem !important;
  color: #5f8068 !important;
  filter: drop-shadow(0 0 8px rgba(95, 128, 104, 0.44)) !important;
}

body.is-cursor-active .home-cursor-glint--a { opacity: 0.66 !important; }
body.is-cursor-active .home-cursor-glint--b { opacity: 0.52 !important; }
body.is-cursor-active .home-cursor-glint--c { opacity: 0.48 !important; }

@media (max-width: 640px) {
  body.home-interactive::before {
    background:
      radial-gradient(circle at 50% 9rem, rgba(210, 171, 80, 0.18), transparent 12rem),
      radial-gradient(circle at 70% 24rem, rgba(76, 115, 88, 0.1), transparent 16rem) !important;
  }

  .home-cursor-glint {
    display: none !important;
  }

  body.home-interactive .hero__shell,
  body.home-interactive .hero__copy,
  body.home-interactive .hero__visual,
  body.home-interactive .mission-panel,
  body.home-interactive .pathways-panel {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-interactive::before,
  body.home-interactive .hero__shell,
  body.home-interactive .hero__copy,
  body.home-interactive .hero__visual,
  body.home-interactive .hero-sky__moon,
  body.home-interactive .hero-sky__cloud,
  body.home-interactive .mission-panel,
  body.home-interactive .pathways-panel {
    transition: none !important;
    transform: none !important;
  }
}
