/* =========================================================
   AuraMind — Spiritual Healing (Rohani Ilaj) side
   Light gold, calm and respectful. No moon/crescent imagery.
   Gold text/buttons use --spirit-gold-ink (AA); --spirit-deep-gold is decorative.
   ========================================================= */
.side-spirit {
  --ink: var(--spirit-text);
  --muted: #6B5A33;                 /* 6.2:1 on cream */
  --focus: var(--spirit-deep-gold);
  --header-bg: rgba(252, 246, 227, .86);
  --header-ink: var(--spirit-text); --header-ink-solid: var(--spirit-text);
  --header-line: rgba(122, 92, 20, .14);
  --lang-line: rgba(122, 92, 20, .3); --lang-on-bg: var(--spirit-gold-ink); --lang-on-ink: #fff;
  --dd-bg: #FFFDF6; --dd-ink: var(--spirit-text); --dd-muted: #6B5A33; --dd-line: rgba(122, 92, 20, .14);
  --dd-ic-bg: var(--spirit-light-gold); --dd-ic: var(--spirit-gold-ink); --dd-hover: #FBF1D6; --dd-accent: var(--spirit-gold-ink);
  --drawer-bg: var(--spirit-cream); --drawer-ink: var(--spirit-text);
  --faq-bg: #FFFDF6; --faq-line: rgba(122, 92, 20, .16); --faq-ic-bg: var(--spirit-light-gold); --faq-ic: var(--spirit-gold-ink); --faq-muted: #5E4B22;
  --wa-float: var(--spirit-gold-ink);
  --footer-bg: var(--spirit-light-gold); --footer-ink: var(--spirit-text); --footer-line: rgba(122, 92, 20, .25);
  --ph-line: rgba(122, 92, 20, .4); --ph-ink: #6B5A33; --ph-bg: rgba(255, 253, 246, .7);
  --enter-bg: var(--spirit-light-gold);
  background: var(--spirit-cream);
  color: var(--spirit-text);
}
.side-spirit h1, .side-spirit h2, .side-spirit h3 { color: var(--spirit-text); }
.side-spirit { --call-ink: var(--spirit-text); --call-line: rgba(122, 92, 20, .45); }
.sp-contact-card { --call-ink: #FFF7DC; --call-line: rgba(243, 226, 174, .55); }
.side-spirit .eyebrow { color: var(--spirit-gold-ink); }
.btn--gold, .side-spirit .btn--wa { background: var(--spirit-gold-ink); color: #fff; }
.btn--gold-soft { background: transparent; border-color: rgba(122, 92, 20, .45); color: var(--spirit-text); }
.btn--ur { font-family: var(--font-ur); font-weight: 500; line-height: 1.9; padding-top: .55rem; padding-bottom: .85rem; }
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover, .side-spirit .btn--wa:hover { background: #664C0F; }
  .btn--gold-soft:hover { background: rgba(230, 204, 122, .25); }
}
.ornament { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--spirit-deep-gold); }
.ornament::before, .ornament::after { content: ""; width: clamp(40px, 12vw, 120px); height: 1px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament i { width: 9px; height: 9px; transform: rotate(45deg); border: 1.5px solid currentColor; }

/* ── Invocation hero: Bismillah · Kalima · Surah Yunus 10:62 ── */
.sp-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; text-align: center; background: linear-gradient(180deg, var(--spirit-cream), var(--spirit-light-gold)); }
.sp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; opacity: .55; background: url("../assets/brand/pattern-gold.svg") center / 110px 110px; -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, transparent 30%, #000 85%); mask-image: radial-gradient(80% 70% at 50% 40%, transparent 30%, #000 85%); }
.noor { position: absolute; left: 50%; top: -30vmax; z-index: -1; width: 160vmax; height: 160vmax; margin-left: -80vmax; border-radius: 50%; opacity: .55; background: repeating-conic-gradient(from 0deg, rgba(255, 250, 230, .9) 0deg 4deg, rgba(255, 250, 230, 0) 4deg 14deg); -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent 62%); mask-image: radial-gradient(closest-side, #000 10%, transparent 62%); animation: am-spin 140s linear infinite; }
@keyframes am-spin { to { transform: rotate(360deg); } }
.invocations { display: grid; gap: clamp(1.2rem, 3.2vh, 2.4rem); }
.inv { display: grid; justify-items: center; gap: .35rem; }
.ar { margin: 0; font-family: var(--font-ar); font-weight: 400; font-size: clamp(2.3rem, 4.6vw + 1rem, 4.7rem); line-height: 1.75; letter-spacing: 0; color: var(--spirit-text); background: linear-gradient(180deg, #7A5C14 10%, var(--spirit-text) 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none; }
.inv--ayah .ar { font-size: clamp(1.9rem, 3.4vw + 1rem, 3.9rem); }
.ayah-end { white-space: nowrap; } /* keep the last word, waqf marks and the 62 medallion together */
.inv-mean { max-width: 44ch; margin: 0; font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(1.15rem, .7vw + 1rem, 1.45rem); line-height: 1.5; color: #5E4B22; }
.inv--ayah .inv-mean { max-width: 62ch; font-size: clamp(1rem, .5vw + .88rem, 1.22rem); line-height: 1.55; }
.inv-ref { margin: .2rem 0 0; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--spirit-gold-ink); }
.sp-hero-foot { margin-top: clamp(1.8rem, 4vh, 3rem); display: grid; justify-items: center; gap: 1rem; }
.sp-hero-foot p { margin: 0; font-size: .95rem; letter-spacing: .08em; color: #5E4B22; }
.scroll-cue { width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(122, 92, 20, .45); position: relative; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--spirit-gold-ink); animation: am-cue 1.8s var(--ease-in-out) infinite; }
@keyframes am-cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
/* Arabic writes right-to-left, so the reveal travels right → left */
.inv .ar { animation: am-ink 1300ms var(--ease-in-out) both; }
.inv .inv-mean, .inv .inv-ref { animation: am-up 800ms var(--ease-out) both; }
.inv:nth-child(1) .ar { animation-delay: 150ms; }  .inv:nth-child(1) .inv-mean { animation-delay: 1050ms; }
.inv:nth-child(3) .ar { animation-delay: 750ms; }  .inv:nth-child(3) .inv-mean { animation-delay: 1650ms; }
.inv:nth-child(5) .ar { animation-delay: 1350ms; } .inv:nth-child(5) .inv-mean { animation-delay: 2250ms; } .inv:nth-child(5) .inv-ref { animation-delay: 2400ms; }
.invocations .ornament { animation: am-fade 900ms ease both; }
.invocations .ornament:nth-child(2) { animation-delay: 600ms; } .invocations .ornament:nth-child(4) { animation-delay: 1200ms; }
.sp-hero-foot { animation: am-fade 900ms ease 2600ms both; }
@keyframes am-ink { from { clip-path: inset(-20% -2% -20% 100%); opacity: .2; } to { clip-path: inset(-20% -2% -20% -2%); opacity: 1; } }
@keyframes am-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes am-fade { from { opacity: 0; } to { opacity: 1; } }

/* ── About ── */
.sp-about { background: var(--spirit-cream); }
.about-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait { position: sticky; top: calc(var(--header-h) + 24px); }
.arch-frame { position: relative; padding: 10px; background: linear-gradient(180deg, #F6E7B8, var(--spirit-gold) 45%, var(--spirit-deep-gold)); clip-path: polygon(0% 100%,0% 40%,0.22% 36.62%,0.85% 33.55%,1.86% 30.76%,3.22% 28.24%,4.9% 25.95%,6.86% 23.88%,9.07% 22%,11.49% 20.28%,14.1% 18.7%,16.87% 17.24%,19.75% 15.88%,22.72% 14.58%,25.74% 13.32%,28.79% 12.08%,31.82% 10.84%,34.81% 9.57%,37.73% 8.25%,40.53% 6.85%,43.19% 5.35%,45.68% 3.73%,47.96% 1.95%,50% 0%,52.04% 1.95%,54.32% 3.73%,56.81% 5.35%,59.47% 6.85%,62.27% 8.25%,65.19% 9.57%,68.18% 10.84%,71.21% 12.08%,74.26% 13.32%,77.28% 14.58%,80.25% 15.88%,83.13% 17.24%,85.9% 18.7%,88.51% 20.28%,90.93% 22%,93.14% 23.88%,95.1% 25.95%,96.78% 28.24%,98.14% 30.76%,99.15% 33.55%,99.78% 36.62%,100% 40%,100% 100%); }
.arch-frame .ph, .arch-frame .inner { aspect-ratio: 4 / 5.4; clip-path: inherit; border: 0; background: linear-gradient(180deg, #FFFDF6, #FBF1D6); }
.arch-frame .ph { padding-top: 22%; }
.portrait figcaption { margin-top: 1rem; text-align: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; }
.portrait figcaption small { display: block; font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.greeting { font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); line-height: 1.3; color: var(--spirit-gold-ink); margin: 0 0 1.4rem; }
/* plain paragraphs only, so styled ones (greeting, pull-quote, Shariah pill, signature) keep their own colour/size */
.letter > p:not([class]), .letter > div:not([class]) > p, .letter .sub-head p { font-size: 1.14rem; line-height: 1.85; color: #4A3912; }
.letter strong { color: var(--spirit-text); }
.sub-head { margin-top: clamp(2.6rem, 5vw, 3.6rem); }
.sub-head h3 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.1rem); }

/* lineage — a golden chain that draws itself */
.lineage-wrap { position: relative; margin-top: 1.6rem; }
.lineage { position: relative; list-style: none; margin: 0; padding: 0 0 0 62px; display: grid; gap: 1.6rem; }
.lineage-line { position: absolute; left: 22px; top: 30px; width: 4px; height: calc(100% - 60px); overflow: visible; }
.lineage-line line { stroke: var(--spirit-deep-gold); stroke-width: 3; stroke-linecap: round; }
.lineage li { position: relative; padding: 1.3rem 1.4rem; border-radius: var(--r-md); background: #FFFDF6; border: 1px solid rgba(122, 92, 20, .16); box-shadow: 0 10px 30px rgba(78, 59, 18, .06); }
.lineage li::before { content: ""; position: absolute; left: -52px; top: 1.3rem; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, #FFF7DC 30%, var(--spirit-gold) 32%, var(--spirit-deep-gold)); box-shadow: 0 0 0 6px var(--spirit-cream), 0 0 18px rgba(214, 166, 75, .6); }
.lineage .role { display: block; font-size: .84rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--spirit-gold-ink); margin-bottom: .2rem; }
.lineage h4 { font-family: var(--font-head); font-size: 1.6rem; margin: 0 0 .4rem; color: var(--spirit-text); }
.lineage p { margin: 0; color: #4A3912; line-height: 1.75; }
.shajra-ph { margin-top: 1.4rem; border-radius: var(--r-md); min-height: 180px; }

.waseela { margin: 1.4rem 0; padding: 1.4rem 1.6rem; border-radius: var(--r-md); border-inline-start: 4px solid var(--spirit-deep-gold); background: linear-gradient(90deg, rgba(243, 226, 174, .6), rgba(243, 226, 174, .15)); font-family: var(--font-head); font-size: clamp(1.25rem, 1vw + 1rem, 1.55rem); font-style: italic; font-weight: 500; line-height: 1.45; color: var(--spirit-text); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0; }
.pillar { padding: 1.3rem; border-radius: var(--r-md); background: #FFFDF6; border: 1px solid rgba(122, 92, 20, .16); text-align: center; }
.pillar .pi { width: 52px; height: 52px; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-items: center; background: var(--spirit-light-gold); color: var(--spirit-gold-ink); }
.pillar .pi svg { width: 26px; height: 26px; }
.pillar h4 { font-family: var(--font-head); font-size: 1.38rem; margin: 0; color: var(--spirit-text); }
.shariah { display: flex; gap: .7rem; align-items: center; padding: .9rem 1.2rem; border-radius: var(--r-pill); background: var(--spirit-text); color: var(--spirit-cream); font-weight: 500; width: fit-content; max-width: 100%; }
.shariah svg { width: 22px; height: 22px; flex: none; color: var(--spirit-gold); }
.work-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.work-chips li { padding: .45rem 1rem; border-radius: var(--r-pill); background: #FFFDF6; border: 1px solid rgba(122, 92, 20, .25); font-size: 1rem; }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; margin: 1.4rem 0 0; padding: 0; }
.promise { position: relative; padding: 1.5rem 1.3rem 1.4rem; border-radius: var(--r-md); background: linear-gradient(180deg, #FFFDF6, #FBF1D6); border: 1px solid rgba(122, 92, 20, .18); overflow: hidden; }
.promise .pn { font-family: var(--font-head); font-size: 3.2rem; line-height: 1; font-weight: 700; color: var(--spirit-gold); }
.promise h4 { font-family: var(--font-head); font-size: 1.45rem; margin: .3rem 0 .4rem; }
.promise p { margin: 0; font-size: 1.04rem; color: #4A3912; }
.signoff { margin-top: clamp(2.4rem, 5vw, 3.4rem); padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--spirit-light-gold), #FBF1D6); position: relative; overflow: hidden; }
.signoff::after { content: ""; position: absolute; inset: 0; opacity: .4; background: url("../assets/brand/pattern-gold.svg") 0 0 / 80px 80px; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); pointer-events: none; }
.signoff > * { position: relative; z-index: 1; }
.signoff .btns { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 1.6rem; }
.signature { font-family: var(--font-head); font-style: italic; font-size: 1.2rem; line-height: 1.55; color: var(--spirit-text); }
.signature b { display: block; font-size: 1.55rem; font-style: normal; font-weight: 700; }

/* ── Services ── */
.sp-services { background: linear-gradient(180deg, #FFFDF6, var(--spirit-cream)); }
.svc-banner { position: relative; overflow: hidden; border-radius: var(--r-lg); margin-bottom: clamp(2rem, 4vw, 3rem); aspect-ratio: 21 / 7; }
.svc-banner img { width: 100%; height: 100%; object-fit: cover; }
.svc-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(78, 59, 18, .75), rgba(78, 59, 18, .1) 70%); }
.svc-banner .cap { position: absolute; left: clamp(1.2rem, 4vw, 2.6rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 1; color: #FFF7DC; max-width: 30ch; font-family: var(--font-head); font-size: clamp(1.3rem, 1.6vw + .8rem, 2rem); font-style: italic; line-height: 1.3; }
.rs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.rs-card { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--r-md); background: #FFFDF6; border: 1px solid rgba(122, 92, 20, .16); box-shadow: 0 12px 30px rgba(78, 59, 18, .05); overflow: hidden; transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease; }
.rs-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--spirit-gold), var(--spirit-deep-gold)); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.rs-card .ri { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--spirit-light-gold); color: var(--spirit-gold-ink); margin-bottom: .3rem; }
.rs-card .ri svg { width: 27px; height: 27px; }
.rs-card h3 { font-size: 1.48rem; margin: 0; line-height: 1.2; }
.rs-card p { margin: 0; color: #4A3912; font-size: 1.04rem; line-height: 1.7; }
.rs-card .ask { margin-top: auto; padding-top: .7rem; font-weight: 600; color: var(--spirit-gold-ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .rs-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(78, 59, 18, .12); border-color: rgba(184, 144, 46, .45); }
  .rs-card:hover::before { transform: scaleX(1); }
  .rs-card .ask:hover .arrow { transform: translateX(4px); }
}

/* featured first service: Spiritual Diagnosis */
.rs-feature { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center; margin-bottom: 1.4rem; padding: 1.9rem 2rem; border-radius: var(--r-lg); background: linear-gradient(135deg, #FFF9E6, var(--spirit-light-gold)); border: 1.5px solid rgba(184, 144, 46, .45); box-shadow: 0 22px 50px -24px rgba(78, 59, 18, .35); }
.rs-badge { position: absolute; top: -13px; left: 1.8rem; padding: .3rem .85rem; border-radius: var(--r-pill); background: var(--spirit-gold-ink); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rs-feature .ri { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: #FFFDF6; color: var(--spirit-gold-ink); box-shadow: 0 0 0 6px rgba(255, 253, 246, .5); }
.rs-feature .ri svg { width: 34px; height: 34px; }
.rs-feature h3 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2rem); margin: 0 0 .35rem; }
.rs-feature p { margin: 0; color: #4A3912; font-size: 1.07rem; line-height: 1.7; }
.arch-frame img.inner { display: block; width: 100%; height: auto; object-fit: cover; }
.sp-map { display: grid; gap: .9rem; margin-top: 1.3rem; justify-items: start; }
.sp-map .map-box { width: 100%; aspect-ratio: 21 / 8; border: 1px solid rgba(122, 92, 20, .2); }

/* ── How it works (4 steps) ── */
.sp-steps { position: relative; }
.sp-steps .track { position: relative; }
.sp-steps .track svg { position: absolute; left: 12%; right: 12%; top: 40px; width: 76%; height: 4px; overflow: visible; }
.sp-steps .track line { stroke: var(--spirit-deep-gold); stroke-width: 2; stroke-dasharray: 1; }
.steps4 { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.steps4 li { text-align: center; }
.steps4 .badge { width: 80px; height: 90px; margin: 0 auto 1rem; display: grid; place-items: center; padding-top: 12px; color: var(--spirit-text); font-family: var(--font-head); font-size: 2rem; font-weight: 700; background: linear-gradient(180deg, #F6E7B8, var(--spirit-gold)); clip-path: polygon(0% 100%,0% 40%,3.22% 28.24%,9.07% 22%,16.87% 17.24%,25.74% 13.32%,34.81% 9.57%,43.19% 5.35%,50% 0%,56.81% 5.35%,65.19% 9.57%,74.26% 13.32%,83.13% 17.24%,90.93% 22%,96.78% 28.24%,100% 40%,100% 100%); }
.steps4 h3 { font-size: 1.48rem; margin-bottom: .35rem; }
.steps4 p { color: #4A3912; font-size: 1.05rem; max-width: 26ch; margin-inline: auto; }

/* ── Blog cards ── */
.sp-blog { background: linear-gradient(180deg, var(--spirit-cream), #FFFDF6); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: #FFFDF6; border: 1px solid rgba(122, 92, 20, .16); text-decoration: none; color: inherit; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.post-card:active { transform: scale(0.99); }
.post-card .pm { aspect-ratio: 16 / 10; overflow: hidden; background: var(--spirit-light-gold); }
.post-card .pm img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.post-card .pb { display: flex; flex-direction: column; gap: .45rem; padding: 1.3rem 1.4rem 1.4rem; flex: 1; }
.post-card .cat { font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--spirit-gold-ink); }
.post-card h3 { font-size: 1.45rem; margin: 0; }
.post-card p { margin: 0; font-size: 1.03rem; color: #4A3912; }
.post-card .more { margin-top: auto; padding-top: .6rem; font-weight: 600; color: var(--spirit-gold-ink); }
.post-card.is-soon { pointer-events: none; }
.post-card.is-soon .more { color: #6B5A33; font-weight: 500; font-style: italic; }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(78, 59, 18, .12); }
  .post-card:hover .pm img { transform: scale(1.05); }
}

/* ── Contact ── */
.sp-contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.4rem); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--spirit-text), #6A5019); color: var(--spirit-cream); }
.sp-contact-card::before { content: ""; position: absolute; inset: 0; opacity: .5; background: url("../assets/brand/pattern-cream.svg") 0 0 / 90px 90px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.sp-contact-card > * { position: relative; }
.sp-contact-card h2, .sp-contact-card h3 { color: #FFF7DC; }
.sp-contact-card p { color: #F3E2AE; }
.sp-contact-card .num { display: block; margin: .6rem 0 1.4rem; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 2.6vw + 1rem, 2.7rem); color: #fff; text-decoration: none; }
.sp-contact-card .btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.sp-contact-card .btn--gold { background: var(--spirit-gold); color: var(--spirit-text); }
.sp-contact-card .btn--gold-soft { color: #FFF7DC; border-color: rgba(243, 226, 174, .5); }
.contact-side { display: grid; gap: .8rem; }
.contact-side .row { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255, 247, 220, .08); border: 1px solid rgba(243, 226, 174, .2); }
.contact-side svg { width: 22px; height: 22px; flex: none; color: var(--spirit-gold); margin-top: .2rem; }
.contact-side b { display: block; color: #FFF7DC; }
.contact-side span { color: #F3E2AE; font-size: 1.02rem; }
@media (hover: hover) and (pointer: fine) { .sp-contact-card .btn--gold:hover { background: #F0D98E; } }

/* ── Blog listing & article pages ── */
.page-hero { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--spirit-cream), var(--spirit-light-gold)); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .45; background: url("../assets/brand/pattern-gold.svg") center / 100px 100px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero > * { position: relative; }
.post-hero { padding-bottom: 0; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.2rem; font-size: .92rem; color: #5E4B22; }
.post-cover { max-width: 980px; margin: 2rem auto 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 720px; margin-inline: auto; font-size: 1.1rem; line-height: 1.9; color: #3F300E; }
.post-body h2 { font-size: clamp(1.7rem, 1.6vw + 1rem, 2.2rem); margin-top: 2.2rem; }
.post-body ul, .post-body ol { padding-left: 1.3rem; display: grid; gap: .45rem; }
.post-body blockquote { margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-inline-start: 4px solid var(--spirit-deep-gold); background: rgba(243, 226, 174, .45); border-radius: 0 var(--r-md) var(--r-md) 0; font-family: var(--font-head); font-style: italic; font-size: 1.3rem; line-height: 1.5; }
.sample-note { display: flex; gap: .7rem; align-items: flex-start; max-width: 720px; margin: 0 auto 2rem; padding: .9rem 1.1rem; border-radius: 14px; border: 1.5px dashed rgba(122, 92, 20, .45); background: #FFFDF6; font-size: .92rem; color: #5E4B22; }
.sample-note svg { width: 20px; height: 20px; flex: none; margin-top: .2rem; color: var(--spirit-gold-ink); }
.post-cta { max-width: 720px; margin: 2.6rem auto 0; padding: 1.6rem; border-radius: var(--r-md); background: var(--spirit-light-gold); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.post-cta p { margin: 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .about-layout, .sp-contact-card { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 360px; margin-inline: auto; width: 100%; }
  .rs-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .steps4 { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; }
  .sp-steps .track svg { display: none; }
  .svc-banner { aspect-ratio: 16 / 7; }
}
@media (max-width: 720px) {
  .rs-grid, .blog-grid, .pillars, .promises { grid-template-columns: 1fr; }
  .rs-feature { grid-template-columns: 1fr; padding: 1.8rem 1.4rem 1.5rem; gap: 1rem; }
  .sp-map .map-box { aspect-ratio: 4 / 3; }
  .lineage { padding-left: 48px; }
  .lineage li::before { left: -42px; }
  .lineage-line { left: 15px; }
  .svc-banner { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) { .steps4 { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .noor, .scroll-cue::after { animation: none; }
  .inv .ar, .inv .inv-mean, .inv .inv-ref, .invocations .ornament, .sp-hero-foot { animation: am-fade 400ms ease both !important; }
}

/* lineage with a single Murshid: no chain dot, a gold edge instead */
.lineage:has(> li:only-child) { padding-left: 0 !important; }
.lineage li:only-child { border-left: 4px solid var(--spirit-gold); }
.lineage li:only-child::before { display: none; }
