/* Ruqyah India website styles (shared by all pages) */
:root{
  --pattern-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.1'%3E%3Cpolygon points=%2295.00,0.00 67.18,27.82 67.18,67.18 27.82,67.18 0.00,95.00 -27.82,67.18 -67.18,67.18 -67.18,27.82 -95.00,0.00 -67.18,-27.82 -67.18,-67.18 -27.82,-67.18 -0.00,-95.00 27.82,-67.18 67.18,-67.18 67.18,-27.82%22/%3E%3Cpolygon points=%2249.40,0.00 34.91,14.46 34.93,34.93 14.46,34.91 0.00,49.40 -14.46,34.91 -34.93,34.93 -34.91,14.46 -49.40,0.00 -34.91,-14.46 -34.93,-34.93 -14.46,-34.91 -0.00,-49.40 14.46,-34.91 34.93,-34.93 34.91,-14.46%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2217.10%22/%3E%3Cpolygon points=%22285.00,0.00 257.18,27.82 257.18,67.18 217.82,67.18 190.00,95.00 162.18,67.18 122.82,67.18 122.82,27.82 95.00,0.00 122.82,-27.82 122.82,-67.18 162.18,-67.18 190.00,-95.00 217.82,-67.18 257.18,-67.18 257.18,-27.82%22/%3E%3Cpolygon points=%22239.40,0.00 224.91,14.46 224.93,34.93 204.46,34.91 190.00,49.40 175.54,34.91 155.07,34.93 155.09,14.46 140.60,0.00 155.09,-14.46 155.07,-34.93 175.54,-34.91 190.00,-49.40 204.46,-34.91 224.93,-34.93 224.91,-14.46%22/%3E%3Ccircle cx=%22190%22 cy=%220%22 r=%2217.10%22/%3E%3Cpolygon points=%2295.00,190.00 67.18,217.82 67.18,257.18 27.82,257.18 0.00,285.00 -27.82,257.18 -67.18,257.18 -67.18,217.82 -95.00,190.00 -67.18,162.18 -67.18,122.82 -27.82,122.82 -0.00,95.00 27.82,122.82 67.18,122.82 67.18,162.18%22/%3E%3Cpolygon points=%2249.40,190.00 34.91,204.46 34.93,224.93 14.46,224.91 0.00,239.40 -14.46,224.91 -34.93,224.93 -34.91,204.46 -49.40,190.00 -34.91,175.54 -34.93,155.07 -14.46,155.09 -0.00,140.60 14.46,155.09 34.93,155.07 34.91,175.54%22/%3E%3Ccircle cx=%220%22 cy=%22190%22 r=%2217.10%22/%3E%3Cpolygon points=%22285.00,190.00 257.18,217.82 257.18,257.18 217.82,257.18 190.00,285.00 162.18,257.18 122.82,257.18 122.82,217.82 95.00,190.00 122.82,162.18 122.82,122.82 162.18,122.82 190.00,95.00 217.82,122.82 257.18,122.82 257.18,162.18%22/%3E%3Cpolygon points=%22239.40,190.00 224.91,204.46 224.93,224.93 204.46,224.91 190.00,239.40 175.54,224.91 155.07,224.93 155.09,204.46 140.60,190.00 155.09,175.54 155.07,155.07 175.54,155.09 190.00,140.60 204.46,155.09 224.93,155.07 224.91,175.54%22/%3E%3Ccircle cx=%22190%22 cy=%22190%22 r=%2217.10%22/%3E%3Cpolygon points=%22121.33,105.91 105.91,121.33 84.09,121.33 68.67,105.91 68.67,84.09 84.09,68.67 105.91,68.67 121.33,84.09%22/%3E%3Ccircle cx=%2295.0%22 cy=%2295.0%22 r=%227.60%22/%3E%3C/g%3E%3C/svg%3E");
  --pattern-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='190'%3E%3Cg fill='none' stroke='%23C8222A' stroke-opacity='0.06' stroke-width='1.1'%3E%3Cpolygon points=%2295.00,0.00 67.18,27.82 67.18,67.18 27.82,67.18 0.00,95.00 -27.82,67.18 -67.18,67.18 -67.18,27.82 -95.00,0.00 -67.18,-27.82 -67.18,-67.18 -27.82,-67.18 -0.00,-95.00 27.82,-67.18 67.18,-67.18 67.18,-27.82%22/%3E%3Cpolygon points=%2249.40,0.00 34.91,14.46 34.93,34.93 14.46,34.91 0.00,49.40 -14.46,34.91 -34.93,34.93 -34.91,14.46 -49.40,0.00 -34.91,-14.46 -34.93,-34.93 -14.46,-34.91 -0.00,-49.40 14.46,-34.91 34.93,-34.93 34.91,-14.46%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2217.10%22/%3E%3Cpolygon points=%22285.00,0.00 257.18,27.82 257.18,67.18 217.82,67.18 190.00,95.00 162.18,67.18 122.82,67.18 122.82,27.82 95.00,0.00 122.82,-27.82 122.82,-67.18 162.18,-67.18 190.00,-95.00 217.82,-67.18 257.18,-67.18 257.18,-27.82%22/%3E%3Cpolygon points=%22239.40,0.00 224.91,14.46 224.93,34.93 204.46,34.91 190.00,49.40 175.54,34.91 155.07,34.93 155.09,14.46 140.60,0.00 155.09,-14.46 155.07,-34.93 175.54,-34.91 190.00,-49.40 204.46,-34.91 224.93,-34.93 224.91,-14.46%22/%3E%3Ccircle cx=%22190%22 cy=%220%22 r=%2217.10%22/%3E%3Cpolygon points=%2295.00,190.00 67.18,217.82 67.18,257.18 27.82,257.18 0.00,285.00 -27.82,257.18 -67.18,257.18 -67.18,217.82 -95.00,190.00 -67.18,162.18 -67.18,122.82 -27.82,122.82 -0.00,95.00 27.82,122.82 67.18,122.82 67.18,162.18%22/%3E%3Cpolygon points=%2249.40,190.00 34.91,204.46 34.93,224.93 14.46,224.91 0.00,239.40 -14.46,224.91 -34.93,224.93 -34.91,204.46 -49.40,190.00 -34.91,175.54 -34.93,155.07 -14.46,155.09 -0.00,140.60 14.46,155.09 34.93,155.07 34.91,175.54%22/%3E%3Ccircle cx=%220%22 cy=%22190%22 r=%2217.10%22/%3E%3Cpolygon points=%22285.00,190.00 257.18,217.82 257.18,257.18 217.82,257.18 190.00,285.00 162.18,257.18 122.82,257.18 122.82,217.82 95.00,190.00 122.82,162.18 122.82,122.82 162.18,122.82 190.00,95.00 217.82,122.82 257.18,122.82 257.18,162.18%22/%3E%3Cpolygon points=%22239.40,190.00 224.91,204.46 224.93,224.93 204.46,224.91 190.00,239.40 175.54,224.91 155.07,224.93 155.09,204.46 140.60,190.00 155.09,175.54 155.07,155.07 175.54,155.09 190.00,140.60 204.46,155.09 224.93,155.07 224.91,175.54%22/%3E%3Ccircle cx=%22190%22 cy=%22190%22 r=%2217.10%22/%3E%3Cpolygon points=%22121.33,105.91 105.91,121.33 84.09,121.33 68.67,105.91 68.67,84.09 84.09,68.67 105.91,68.67 121.33,84.09%22/%3E%3Ccircle cx=%2295.0%22 cy=%2295.0%22 r=%227.60%22/%3E%3C/g%3E%3C/svg%3E");
  --red:#EE3239; --red-deep:#C8222A; --ink:#201D1E; --ink-2:#2C2829; --paper:#FFFFFF; --mist:#F6F3F1;
  --muted:#5B5557; --line:#E6E0DD;
  --serif:"Cormorant Garamond", Georgia, serif; --caps:"Cinzel", Georgia, serif; --sans:"Nunito Sans", system-ui, sans-serif;
  --wrap:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--paper);font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;background:#fff;padding:8px 12px;z-index:99}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:4px}

/* ---------- header ---------- */
.top{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:28px;height:78px}
.brand img{height:52px;width:auto}
.nav{display:flex;gap:26px;margin-left:auto;font-weight:600;font-size:15px}
.nav a{padding:6px 0;border-bottom:2px solid transparent}
.nav a:hover{border-color:var(--red)}
.lang{display:flex;gap:4px;font-size:13px;color:var(--muted)}
.lang span{padding:6px 10px;border-radius:8px}
.lang .on{background:var(--ink);color:#fff}
.lang .soon{color:var(--muted)}
.btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:15px;padding:13px 22px;border-radius:999px;transition:transform .15s ease, background .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-red{background:var(--red-deep);color:#fff}
.btn-red:hover{background:#A81B22}
.btn-ghost{border:1.5px solid rgba(255,255,255,.45);color:#fff}
.btn-ghost:hover{border-color:#fff}
.menu{display:none}
@media (max-width:980px){ .nav,.lang{display:none} .menu{display:inline-flex;margin-left:auto;font-weight:700;font-size:15px} .top .btn-red{display:none} }

/* ---------- hero ---------- */
.hero{position:relative;color:#fff;background:var(--ink);overflow:hidden;isolation:isolate}
.hero:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--pattern-dark)}
.hero:after{content:"";position:absolute;z-index:-1;width:900px;height:900px;right:-160px;top:-220px;background:radial-gradient(circle, rgba(238,50,57,.30) 0%, rgba(238,50,57,0) 62%)}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center;padding-top:96px;padding-bottom:104px}
.eyebrow{font-family:var(--caps);letter-spacing:.32em;font-size:13px;color:#F4B6B8;text-transform:uppercase}
.hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(44px,6vw,78px);line-height:1.02;margin:18px 0 22px;letter-spacing:-.5px}
.hero h1 em{font-style:normal;color:var(--red)}
.hero p.lead{font-size:19px;color:rgba(255,255,255,.86);max-width:560px}
.hero .cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.ayah{margin-top:48px;padding-left:20px;border-left:2px solid var(--red);max-width:560px}
.ayah .ar{font-family:Amiri, serif;font-size:27px;line-height:1.9;direction:rtl;text-align:right;color:#fff}
.ayah .en{font-family:var(--serif);font-style:italic;font-size:19px;color:rgba(255,255,255,.85)}
.ayah .ref{font-size:13px;color:rgba(255,255,255,.7);margin-top:4px;letter-spacing:.04em}
.hero-mark{justify-self:center;width:min(420px,80%);filter:drop-shadow(0 30px 60px rgba(0,0,0,.45))}
@media (max-width:880px){ .hero .wrap{grid-template-columns:1fr;padding-top:56px;padding-bottom:70px} .hero-mark{order:-1;width:200px} }

/* ---------- sections ---------- */
section{padding:96px 0}
.kicker{font-family:var(--caps);letter-spacing:.3em;font-size:12.5px;color:var(--red-deep);text-transform:uppercase}
h2{font-family:var(--serif);font-weight:600;font-size:clamp(34px,4vw,50px);line-height:1.1;margin:12px 0 16px}
.intro{max-width:640px;color:var(--muted);font-size:18px}

.paths{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:48px}
.path{position:relative;border:1px solid var(--line);border-radius:22px;padding:34px 30px 30px;display:flex;flex-direction:column;transition:border-color .2s, box-shadow .2s, transform .2s}
.path:hover{border-color:var(--ink);box-shadow:0 18px 40px rgba(32,29,30,.08);transform:translateY(-3px)}
.path .num{font-family:var(--caps);font-size:13px;letter-spacing:.2em;color:var(--red-deep)}
.path h3{font-family:var(--serif);font-size:31px;font-weight:600;line-height:1.15;margin:10px 0 12px}
.path p{color:var(--muted)}
.path ul{list-style:none;margin:18px 0 26px;display:grid;gap:8px;font-size:15.5px}
.path li{padding-left:22px;position:relative}
.path li:before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;background:var(--red);transform:rotate(45deg)}
.path .go{margin-top:auto;font-weight:700;display:inline-flex;gap:8px;align-items:center}
.path .go span{transition:transform .2s}
.path:hover .go span{transform:translateX(4px)}
.path.feature{background:var(--ink);color:#fff;border-color:var(--ink)}
.path.feature p,.path.feature ul{color:rgba(255,255,255,.82)}
.path.feature .num{color:#F4B6B8}
@media (max-width:900px){ .paths{grid-template-columns:1fr} }

.principles{background:var(--mist)}
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:46px;border-top:1px solid var(--line)}
.p{padding:30px 26px 6px 0}
.p + .p{padding-left:26px;border-left:1px solid var(--line)}
.p .ic{width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:var(--red-deep);font-family:var(--caps);font-weight:600}
.p h3{font-family:var(--serif);font-size:24px;font-weight:600;margin:16px 0 8px}
.p p{color:var(--muted);font-size:15.5px}
@media (max-width:900px){ .pgrid{grid-template-columns:1fr 1fr} .p:nth-child(3){padding-left:0;border-left:0} }
@media (max-width:560px){ .pgrid{grid-template-columns:1fr} .p + .p{padding-left:0;border-left:0;border-top:1px solid var(--line)} }

.guide .wrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:center}
.booklet{position:relative;aspect-ratio:3/4;max-width:360px;margin:0 auto;border-radius:10px 18px 18px 10px;background:var(--ink);color:#fff;padding:40px 34px;
         box-shadow:inset 10px 0 0 rgba(0,0,0,.25), 0 30px 60px rgba(32,29,30,.25);display:flex;flex-direction:column;overflow:hidden}
.booklet:before{content:"";position:absolute;inset:0;background:inherit;background-image:var(--pattern-dark);z-index:0}
.booklet > *{position:relative}
.booklet img{width:96px;margin-bottom:auto}
.booklet .t{font-family:var(--serif);font-size:34px;line-height:1.08;font-weight:600}
.booklet .s{font-size:13px;letter-spacing:.2em;font-family:var(--caps);color:#F4B6B8;margin-top:12px}
.booklet .band{position:absolute;left:0;right:0;bottom:0;height:8px;background:var(--red)}
.checks{list-style:none;margin:24px 0 32px;display:grid;gap:12px}
.checks li{display:flex;gap:12px}
.checks li b{flex:none;width:24px;height:24px;border-radius:50%;background:var(--red-deep);color:#fff;display:grid;place-items:center;font-size:13px}
.note{font-size:14px;color:var(--muted);margin-top:14px}
@media (max-width:880px){ .guide .wrap{grid-template-columns:1fr} }

.raqi{background:var(--ink);color:#fff;position:relative;overflow:hidden}
.raqi .wrap{display:grid;grid-template-columns:auto 1fr;gap:56px;align-items:center}
.seal{width:220px;height:220px;border-radius:50%;border:1.5px solid rgba(238,50,57,.85);display:grid;place-items:center;box-shadow:0 0 0 10px rgba(238,50,57,.08)}
.seal img{width:128px}
.raqi h2{color:#fff}
.raqi p{color:rgba(255,255,255,.84);max-width:640px}
.facts{display:flex;gap:40px;margin:28px 0 30px;flex-wrap:wrap}
.facts div{font-family:var(--serif);font-size:40px;line-height:1;font-weight:600}
.facts small{display:block;font-family:var(--sans);font-size:13px;color:rgba(255,255,255,.7);margin-top:8px;letter-spacing:.04em}
@media (max-width:780px){ .raqi .wrap{grid-template-columns:1fr} .seal{width:160px;height:160px} .seal img{width:92px} }

.fraud{padding:0}
.fraud .box{margin-top:-1px;background:var(--red-deep);color:#fff;border-radius:24px;padding:44px 48px;display:flex;gap:30px;align-items:center;justify-content:space-between;flex-wrap:wrap;transform:translateY(50%);position:relative;z-index:2}
.fraud h3{font-family:var(--serif);font-size:34px;font-weight:600;line-height:1.1}
.fraud p{color:rgba(255,255,255,.92);max-width:560px;margin-top:6px}
.btn-white{background:#fff;color:var(--ink)}
.btn-white:hover{background:#FBEDEE}

.faq{padding-top:170px}
.faq .wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px}
details{border-bottom:1px solid var(--line);padding:22px 0}
summary{cursor:pointer;list-style:none;font-family:var(--serif);font-size:24px;font-weight:600;display:flex;justify-content:space-between;gap:20px}
summary::-webkit-details-marker{display:none}
summary:after{content:"+";font-family:var(--sans);font-weight:400;color:var(--red);font-size:26px;line-height:1}
details[open] summary:after{content:"–"}
details p{color:var(--muted);margin-top:12px;max-width:620px}
@media (max-width:880px){ .faq .wrap{grid-template-columns:1fr} .fraud .box{padding:34px 28px} }

footer{background:var(--ink);color:rgba(255,255,255,.78);padding:70px 0 34px;font-size:15px}
footer .grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
footer img{width:220px;margin-bottom:18px}
footer h3{font-family:var(--caps);font-size:12.5px;letter-spacing:.24em;color:#fff;margin-bottom:14px;font-weight:600}
footer ul{list-style:none;display:grid;gap:8px}
footer a:hover{color:#fff}
.care{margin-top:46px;padding:18px 22px;border:1px solid rgba(255,255,255,.16);border-radius:14px;font-size:14px;color:rgba(255,255,255,.8)}
.legal{margin-top:26px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px;color:rgba(255,255,255,.72)}
@media (max-width:880px){ footer .grid{grid-template-columns:1fr 1fr} }
@media (prefers-reduced-motion:reduce){ *{transition:none!important;scroll-behavior:auto!important} }

/* ---------- inner pages ---------- */
.page-hero{position:relative;color:#fff;background:var(--ink);overflow:hidden;isolation:isolate}
.page-hero:before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--pattern-dark)}
.page-hero .wrap{padding-top:84px;padding-bottom:84px}
.page-hero h1{max-width:820px}
.page-hero h1{font-family:var(--serif);font-weight:600;font-size:clamp(40px,5.4vw,66px);line-height:1.05;margin:14px 0 18px}
.page-hero h1 span{color:var(--red)}
.page-hero p{font-size:19px;color:rgba(255,255,255,.86);max-width:680px}
.crumbs{font-size:14px;color:rgba(255,255,255,.72)}
.crumbs a:hover{color:#fff}

.prose{max-width:720px}
.prose p{margin:0 0 18px;font-size:18px;color:#3d3839}
.prose p.big{font-family:var(--serif);font-size:27px;line-height:1.35;color:var(--ink)}
.story .wrap{display:grid;grid-template-columns:240px 1fr;gap:64px}
.story aside{position:sticky;top:110px;align-self:start}
.story aside .seal{width:200px;height:200px;border-color:var(--red);box-shadow:0 0 0 10px rgba(238,50,57,.07);background:var(--ink)}
.story aside .seal img{width:116px}
.story aside .who{margin-top:22px;font-family:var(--serif);font-size:26px;font-weight:600;line-height:1.15}
.story aside .role{color:var(--muted);font-size:15px;margin-top:4px}
@media (max-width:880px){ .story .wrap{grid-template-columns:1fr;gap:28px} .story aside{position:static;display:flex;gap:20px;align-items:center} .story aside .seal{width:110px;height:110px} .story aside .seal img{width:62px} .story aside .who{margin-top:0} }

.timeline{list-style:none;margin-top:44px;position:relative}
.timeline:before{content:"";position:absolute;left:92px;top:8px;bottom:8px;width:1px;background:var(--line)}
.timeline li{display:grid;grid-template-columns:92px 1fr;gap:34px;padding:0 0 34px;position:relative}
.timeline li:after{content:"";position:absolute;left:87px;top:9px;width:11px;height:11px;background:var(--red);transform:rotate(45deg)}
.timeline .yr{font-family:var(--caps);font-weight:600;font-size:18px;text-align:right;padding-right:22px}
.timeline h3{font-family:var(--serif);font-size:25px;font-weight:600;line-height:1.2}
.timeline p{color:var(--muted);margin-top:6px;max-width:620px}
@media (max-width:560px){ .timeline:before{left:6px} .timeline li{grid-template-columns:1fr;gap:4px;padding-left:30px} .timeline li:after{left:1px} .timeline .yr{text-align:left} }

.values{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.value{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px}
.value h3{font-family:var(--serif);font-size:26px;font-weight:600;margin-bottom:8px}
.value p{color:var(--muted);font-size:16px}
@media (max-width:900px){ .values{grid-template-columns:1fr} }

.closing{text-align:center}
.closing .wrap{max-width:760px}
.closing p{color:var(--muted);font-size:18px;margin:0 auto 30px;max-width:560px}
.closing .cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#000}
.btn-line{border:1.5px solid var(--ink)}

/* ---------- get help page ---------- */
.svc{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:44px}
.svc article{border:1px solid var(--line);border-radius:22px;padding:34px 32px;display:flex;flex-direction:column}
.svc article.lead{background:var(--ink);color:#fff;border-color:var(--ink)}
.svc article.lead p,.svc article.lead li{color:rgba(255,255,255,.84)}
.svc .tagline{font-family:var(--caps);font-size:12.5px;letter-spacing:.22em;color:var(--red-deep);text-transform:uppercase}
.svc article.lead .tagline{color:#F4B6B8}
.svc h3{font-family:var(--serif);font-size:32px;font-weight:600;line-height:1.12;margin:10px 0 12px}
.svc p{color:var(--muted)}
.svc ul{list-style:none;margin:18px 0 0;display:grid;gap:8px;font-size:15.5px}
.svc li{padding-left:22px;position:relative;color:var(--ink)}
.svc li:before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;background:var(--red);transform:rotate(45deg)}
.svc .meta{margin-top:auto;padding-top:24px;display:flex;gap:18px;flex-wrap:wrap;font-size:14px;font-weight:700}
.svc .meta span{padding:7px 12px;border-radius:999px;background:var(--mist);color:var(--ink)}
.svc article.lead .meta span{background:rgba(255,255,255,.1);color:#fff}
@media (max-width:860px){ .svc{grid-template-columns:1fr} }

.steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:44px;counter-reset:s}
.steps li{counter-increment:s;background:#fff;border-radius:20px;padding:28px 26px;border:1px solid var(--line)}
.steps li:before{content:counter(s,decimal-leading-zero);font-family:var(--caps);font-weight:600;font-size:15px;color:var(--red-deep);letter-spacing:.1em}
.steps h3{font-family:var(--serif);font-size:25px;font-weight:600;margin:12px 0 8px}
.steps p{color:var(--muted);font-size:15.5px}
@media (max-width:900px){ .steps{grid-template-columns:1fr 1fr} }
@media (max-width:560px){ .steps{grid-template-columns:1fr} }

.prep .wrap{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.prep h3{font-family:var(--serif);font-size:28px;font-weight:600;margin-bottom:14px}
.prep .checks li{align-items:flex-start}
.callout{border-left:3px solid var(--red);background:var(--mist);padding:22px 24px;border-radius:0 14px 14px 0;margin-top:26px;color:#3d3839;font-size:16px}
.callout b{color:var(--ink)}
@media (max-width:880px){ .prep .wrap{grid-template-columns:1fr} }

.book{background:var(--red-deep);color:#fff;text-align:center}
.book .wrap{max-width:780px}
.book h2{color:#fff}
.book p{color:#fff;font-size:18px;margin:0 auto 30px;max-width:580px}
.book .cta{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.book small{display:block;margin-top:22px;color:rgba(255,255,255,.88);font-size:14px}

/* ---------- learn page ---------- */
.jump{position:sticky;top:78px;z-index:10;background:#fff;border-bottom:1px solid var(--line)}
.jump .wrap{display:flex;gap:8px;overflow-x:auto;padding-top:12px;padding-bottom:12px;white-space:nowrap}
.jump a{font-size:14px;font-weight:700;padding:8px 14px;border-radius:999px;background:var(--mist)}
.jump a:hover{background:var(--ink);color:#fff}
.lessons section,.lessons{scroll-margin-top:150px}
.quote{border-left:3px solid var(--red);padding:6px 0 6px 22px;margin:26px 0;max-width:680px}
.quote p{font-family:var(--serif);font-size:23px;line-height:1.4;font-style:italic;color:var(--ink)}
.quote cite{display:block;font-style:normal;font-size:14px;color:var(--muted);margin-top:8px}
.what{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:start}
@media (max-width:880px){ .what{grid-template-columns:1fr} }

.adhkar{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:44px}
.dh{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;display:flex;flex-direction:column}
.dh .when{display:flex;gap:8px;flex-wrap:wrap}
.dh .when span{font-size:13px;font-weight:700;padding:5px 11px;border-radius:999px;background:var(--mist)}
.dh .when span.x{background:var(--ink);color:#fff}
.dh h3{font-family:var(--serif);font-size:28px;font-weight:600;margin:14px 0 6px}
.dh .ar{font-family:Amiri,serif;font-size:26px;line-height:2;direction:rtl;text-align:right;margin:10px 0 8px;color:var(--ink)}
.dh .tr{font-style:italic;color:#3d3839;font-size:15.5px}
.dh .en{color:var(--muted);font-size:16px;margin-top:6px}
.dh .src{margin-top:auto;padding-top:18px;font-size:13.5px;color:var(--muted)}
.dh .src b{color:var(--ink)}
.dh details{margin-top:12px;border-top:1px dashed var(--line);padding-top:10px}
.dh details summary{font-family:var(--sans);font-size:14.5px;font-weight:700;color:var(--red-deep)}
.dh details summary:after{font-size:20px}
.dh details .ar{font-size:23px}
@media (max-width:860px){ .adhkar{grid-template-columns:1fr} }

.how{list-style:none;counter-reset:h;margin-top:40px;display:grid;gap:18px;max-width:860px}
.how li{counter-increment:h;display:grid;grid-template-columns:64px 1fr;gap:20px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.how li:before{content:counter(h);width:48px;height:48px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:var(--caps);font-weight:600;font-size:18px}
.how h3{font-family:var(--serif);font-size:25px;font-weight:600;margin-bottom:4px}
.how p{color:var(--muted)}
.how .ar{font-family:Amiri,serif;font-size:23px;direction:rtl;text-align:right;margin:8px 0 4px;color:var(--ink)}
.how .src{font-size:13.5px;color:var(--muted);margin-top:8px}

.myths{display:grid;gap:16px;margin-top:40px}
.myth{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.myth > div{padding:24px 26px}
.myth .no{background:var(--mist)}
.myth .lbl{font-family:var(--caps);font-size:12px;letter-spacing:.22em;font-weight:600;margin-bottom:6px}
.myth .no .lbl{color:var(--muted)}
.myth .yes .lbl{color:var(--red-deep)}
.myth .no p{font-family:var(--serif);font-size:22px;line-height:1.3;color:var(--ink)}
.myth .yes p{color:#3d3839}
.myth .src{font-size:13.5px;color:var(--muted);margin-top:8px}
@media (max-width:760px){ .myth{grid-template-columns:1fr} }
.sources-note{font-size:14px;color:var(--muted);margin-top:30px;max-width:760px}

/* ---------- courses page ---------- */
.courses{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:44px}
.course{border:1px solid var(--line);border-radius:24px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.course .top-band{padding:30px 32px;background:var(--mist)}
.course.dark .top-band{background:var(--ink);color:#fff}
.course .status{display:inline-block;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;background:#fff;color:var(--ink);border:1px solid var(--line)}
.course.dark .status{background:var(--red-deep);color:#fff;border-color:var(--red-deep)}
.course h3{font-family:var(--serif);font-size:36px;font-weight:600;line-height:1.08;margin:14px 0 8px}
.course .for{color:var(--muted)}
.course.dark .for{color:rgba(255,255,255,.84)}
.course .body{padding:26px 32px 32px;display:flex;flex-direction:column;flex:1}
.course .facts2{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.course .facts2 span{font-size:13.5px;font-weight:700;padding:6px 12px;border-radius:999px;background:var(--mist)}
.mods{list-style:none;counter-reset:m;display:grid;gap:12px;margin-bottom:26px}
.mods li{counter-increment:m;display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start}
.mods li:before{content:counter(m,decimal-leading-zero);font-family:var(--caps);font-weight:600;color:var(--red-deep);font-size:14px;padding-top:2px}
.mods b{display:block;font-size:16px}
.mods span{color:var(--muted);font-size:14.5px}
.course .btn{align-self:flex-start;margin-top:auto}
.reqs{list-style:none;display:grid;gap:8px;margin:0 0 22px;font-size:15px}
.reqs li{padding-left:22px;position:relative}
.reqs li:before{content:"";position:absolute;left:2px;top:.62em;width:8px;height:8px;background:var(--red);transform:rotate(45deg)}
@media (max-width:900px){ .courses{grid-template-columns:1fr} }
.teach{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px}
.teach div{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.teach h3{font-family:var(--serif);font-size:23px;font-weight:600;margin-bottom:6px}
.teach p{color:var(--muted);font-size:15px}
@media (max-width:900px){ .teach{grid-template-columns:1fr 1fr} }
@media (max-width:520px){ .teach{grid-template-columns:1fr} }

/* ---------- faq page ---------- */
.faqpage .wrap{display:grid;grid-template-columns:240px 1fr;gap:56px}
.faqpage aside{position:sticky;top:110px;align-self:start;display:grid;gap:6px}
.faqpage aside a{font-weight:700;font-size:15px;padding:8px 12px;border-radius:10px}
.faqpage aside a:hover{background:var(--mist)}
.faqgroup{scroll-margin-top:110px;margin-bottom:46px}
.faqgroup h2{font-size:34px;margin-bottom:6px}
.faqgroup details p,.faqgroup details li{color:var(--muted);max-width:680px}
.faqgroup details ul{margin:10px 0 0 20px;display:grid;gap:6px}
.faqgroup .src{font-size:13.5px;color:var(--muted);margin-top:8px}
@media (max-width:880px){ .faqpage .wrap{grid-template-columns:1fr;gap:20px} .faqpage aside{position:static;display:flex;flex-wrap:wrap} .faqpage aside a{background:var(--mist)} }

/* ---------- contact / report / legal ---------- */
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:40px}
.cbox{border:1px solid var(--line);border-radius:22px;padding:30px;display:flex;flex-direction:column;gap:6px}
.cbox.dark{background:var(--ink);color:#fff;border-color:var(--ink)}
.cbox h3{font-family:var(--serif);font-size:27px;font-weight:600}
.cbox p{color:var(--muted)}
.cbox.dark p{color:rgba(255,255,255,.84)}
.cbox .big{font-size:20px;font-weight:700;margin:8px 0 14px;color:inherit}
.cbox .btn{align-self:flex-start;margin-top:auto}
.todo{background:#FFF4D6;color:#5A4300;padding:1px 6px;border-radius:5px;font-weight:700;font-size:.92em}
.cbox.dark .todo{background:#FFE9A8;color:#3A2B00}
@media (max-width:900px){ .contact-grid{grid-template-columns:1fr} }
.two{display:grid;grid-template-columns:1fr 1fr;gap:56px}
@media (max-width:880px){ .two{grid-template-columns:1fr} }
.numlist{list-style:none;counter-reset:n;display:grid;gap:14px;margin-top:20px}
.numlist li{counter-increment:n;display:grid;grid-template-columns:36px 1fr;gap:14px}
.numlist li:before{content:counter(n);width:30px;height:30px;border-radius:50%;background:var(--red-deep);color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.helplines{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px}
.helplines div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px}
.helplines b{display:block;font-family:var(--caps);font-size:26px;color:var(--red-deep)}
.helplines span{color:var(--muted);font-size:14.5px}
@media (max-width:700px){ .helplines{grid-template-columns:1fr} }
.legal-doc{max-width:780px}
.legal-doc h2{font-size:28px;margin:34px 0 8px}
.legal-doc p,.legal-doc li{color:#3d3839;margin-bottom:10px}
.legal-doc ul{margin:0 0 10px 22px}
.legal-doc .updated{color:var(--muted);font-size:14px}

/* lead service spans the full row so the other four sit 2 × 2 */
.svc article.lead{grid-column:1/-1}

/* floating WhatsApp button */
.wa-float{position:fixed;right:20px;bottom:20px;z-index:30;display:flex;align-items:center;gap:10px;background:#17733E;color:#fff;font-weight:700;font-size:15px;padding:13px 18px;border-radius:999px;box-shadow:0 10px 28px rgba(0,0,0,.25)}
.wa-float:hover{background:#115C31}
.wa-float svg{width:22px;height:22px;fill:#fff}
@media (max-width:560px){ .wa-float span{display:none} .wa-float{padding:14px} }

/* ---------- one logo everywhere (Syed, 9 Nov): only ruqyah-india-logo.svg, never recoloured ---------- */
.top .wrap{height:96px}
.brand img{height:80px;width:auto}
.jump{top:96px}
.story aside{top:120px}
.faqpage aside{top:120px}
.logo-tile{background:#fff;border-radius:16px;padding:14px 18px;display:inline-block}
.logo-tile img{width:150px;height:auto;display:block}
.logo-tile.big{padding:22px 26px;border-radius:22px;box-shadow:0 0 0 1px var(--line)}
.logo-tile.big img{width:170px}
footer .logo-tile{margin-bottom:18px}
footer .logo-tile img{width:130px;margin:0}
.booklet .logo-tile{align-self:flex-start;margin-bottom:auto;padding:12px 14px;border-radius:12px}
.booklet .logo-tile img{width:110px}
/* hero now light so the logo sits in its own colours */
.hero{background:#FBF8F4;color:var(--ink)}
.hero:before{background-image:var(--pattern-light)}
.hero:after{background:radial-gradient(circle, rgba(238,50,57,.10) 0%, rgba(238,50,57,0) 62%)}
.hero .eyebrow{color:var(--red-deep)}
.hero h1 em{color:var(--red-deep)}
.hero p.lead{color:#3d3839}
.hero .btn-ghost{border-color:var(--ink);color:var(--ink)}
.hero .btn-ghost:hover{background:var(--ink);color:#fff}
.ayah .ar{color:var(--ink)}
.ayah .en{color:#3d3839}
.ayah .ref{color:var(--muted)}
.hero-logo{justify-self:center;background:#fff;border-radius:28px;padding:34px 38px;box-shadow:0 24px 60px rgba(32,29,30,.10), 0 0 0 1px var(--line)}
.hero-logo img{width:min(320px,62vw);height:auto;display:block}
@media (max-width:880px){ .hero-logo{order:-1;padding:22px 26px} .hero-logo img{width:200px} .top .wrap{height:80px} .brand img{height:64px} .jump{top:80px} }

/* ---------- v2 (9 Nov): logo sits directly on light backgrounds, no white boxes ---------- */
.hero-logo{justify-self:center;width:min(340px,70vw);height:auto;background:none;padding:0;border-radius:0;box-shadow:none}
.raqi .wrap{grid-template-columns:1fr}
.booklet .t{margin-top:auto}
footer{background:var(--mist);color:#3d3839;border-top:1px solid var(--line)}
footer .foot-logo{width:130px;height:auto;margin-bottom:16px}
footer h3{color:var(--ink)}
footer a:hover{color:var(--red-deep)}
footer .care{border-color:var(--line);color:#3d3839;background:#fff}
footer .legal{color:var(--muted)}
.story aside .aside-logo{width:170px;height:auto;display:block}
@media (max-width:880px){ .hero-logo{width:210px} .story aside .aside-logo{width:110px} }
@media (max-width:880px){ .hero-logo{order:0;margin-top:34px} }

/* ---------- v3: pamphlet content + red glow on dark page tops (Syed liked it) ---------- */
.page-hero:after{content:"";position:absolute;z-index:-1;width:800px;height:800px;right:-180px;top:-260px;background:radial-gradient(circle, rgba(238,50,57,.30) 0%, rgba(238,50,57,0) 62%)}
.aims{list-style:none;counter-reset:a;display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:36px}
.aims li{counter-increment:a;border-top:2px solid var(--ink);padding-top:16px;font-family:var(--serif);font-size:21px;line-height:1.3;font-weight:600}
.aims li:before{content:counter(a,decimal-leading-zero);display:block;font-family:var(--caps);font-size:14px;color:var(--red-deep);margin-bottom:8px}
@media (max-width:980px){ .aims{grid-template-columns:1fr 1fr} }
@media (max-width:560px){ .aims{grid-template-columns:1fr} }

/* ---------- v4 (Syed, 9 Nov): Home top back to the first dark design, logo placed big exactly as it is ---------- */
.hero{background:var(--ink);color:#fff}
.hero:before{background-image:var(--pattern-dark)}
.hero:after{background:radial-gradient(circle, rgba(238,50,57,.30) 0%, rgba(238,50,57,0) 62%)}
.hero h1 em{color:var(--red)}
.hero p.lead{color:rgba(255,255,255,.86)}
.hero .btn-ghost{border-color:rgba(255,255,255,.45);color:#fff}
.hero .btn-ghost:hover{border-color:#fff;background:transparent;color:#fff}
.ayah .ar{color:#fff}
.ayah .en{color:rgba(255,255,255,.85)}
.ayah .ref{color:rgba(255,255,255,.7)}
.hero-logo{width:min(380px,72vw)}
/* v5 (Syed): on phones the logo comes FIRST in the top section, like the first version */
@media (max-width:880px){ .hero-logo{order:-1;margin-top:0;margin-bottom:8px;width:min(260px,70vw)} }

/* ---------- design options A–D for the Home top (preview only) ---------- */
.hv-switch{position:fixed;left:16px;bottom:20px;z-index:40;display:flex;gap:6px;background:#fff;padding:6px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.hv-switch a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:var(--ink)}
.hv-switch a.on{background:var(--red-deep);color:#fff}
/* A mihrab arch */
.hv-arch{justify-self:center;width:300px;height:390px;background:#FBF8F4;border-radius:150px 150px 14px 14px;display:grid;place-items:center;box-shadow:0 0 0 7px rgba(238,50,57,.6),0 0 0 15px rgba(255,255,255,.06),0 40px 80px rgba(0,0,0,.5)}
.hv-arch img{width:210px;height:auto}
/* B light into dark */
.hv-b{background:linear-gradient(180deg,#FBF8F4 0,#FBF8F4 46%,#201D1E 74%)}
.hv-b .hv-light-logo{width:min(320px,72vw);height:auto;justify-self:center}
/* C pamphlet watermark */
.hv-c .wrap{grid-template-columns:1fr;min-height:560px}
.hv-c .hv-wm{position:absolute;z-index:-1;width:min(760px,130vw);right:-140px;top:-80px;opacity:.13;pointer-events:none}
.hv-c .hv-wm2{position:absolute;z-index:-1;width:360px;left:-140px;bottom:-120px;opacity:.07;pointer-events:none}
/* D royal seal */
.hv-seal{position:relative;justify-self:center;width:330px;height:330px;border-radius:50%;background:#FBF8F4;display:grid;place-items:center;box-shadow:0 0 0 4px #201D1E,0 0 0 7px #EE3239,0 0 0 22px rgba(238,50,57,.12),0 40px 80px rgba(0,0,0,.55)}
.hv-seal img{width:210px;height:auto}
.hv-ring{position:absolute;inset:-36px;border-radius:50%;border:1px dashed rgba(255,255,255,.28)}
@media (max-width:880px){
  .hv-arch{order:-1;width:220px;height:290px;border-radius:110px 110px 12px 12px;margin-bottom:10px}.hv-arch img{width:155px}
  .hv-b .hv-light-logo{order:-1;width:220px}
  .hv-b{background:linear-gradient(180deg,#FBF8F4 0,#FBF8F4 300px,#201D1E 420px)}
  .hv-c .wrap{min-height:0;padding-top:280px}.hv-c .hv-wm{width:520px;right:auto;left:-140px;top:-10px}
  .hv-seal{order:-1;width:230px;height:230px;margin:20px auto 18px}.hv-seal img{width:150px}.hv-ring{inset:-24px}
}
@media (min-width:881px){ .hv-b{background:linear-gradient(90deg,#201D1E 0,#201D1E 52%,#FBF8F4 72%)} }
.hv-b:after{display:none}

/* ---------- interactive (9 Nov) ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease}
.reveal.in{opacity:1;transform:none}
button.menu{background:none;border:0;font:inherit;cursor:pointer;color:inherit;padding:8px 4px}
@media (max-width:980px){
  .top.open .nav{display:flex;flex-direction:column;position:absolute;left:0;right:0;top:100%;background:#fff;padding:12px 24px 22px;gap:4px;border-bottom:1px solid var(--line);box-shadow:0 18px 30px rgba(0,0,0,.12)}
  .top.open .nav a{font-size:18px;padding:12px 0;border-bottom:1px solid var(--line)}
  .top .wrap{position:relative}
}
/* chooser */
.chooser{padding:80px 0;background:#fff}
.ch-options{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}
.ch-btn{font:inherit;font-weight:700;font-size:17px;text-align:left;padding:24px 26px;border-radius:18px;border:1.5px solid var(--line);background:#fff;cursor:pointer;color:var(--ink);transition:border-color .2s, background .2s, transform .2s}
.ch-btn:hover{border-color:var(--ink);transform:translateY(-2px)}
.ch-btn.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.ch-result{margin-top:22px;border-radius:20px;background:var(--mist);padding:28px 30px}
.ch-result h3{font-family:var(--serif);font-size:30px;font-weight:600;margin-bottom:8px}
.ch-result p{color:#3d3839;max-width:680px;margin-bottom:18px}
.ch-result .btn{margin:4px 8px 4px 0}
.ch-result.pop{animation:pop .45s ease}
@keyframes pop{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (max-width:860px){ .ch-options{grid-template-columns:1fr} }
/* seal used in Raqi section + About */
.raqi .wrap{grid-template-columns:auto 1fr}
.hv-seal.small{width:230px;height:230px}
.hv-seal.small img{width:150px}
.hv-seal.small .hv-ring{inset:-22px}
.hv-seal.light{box-shadow:0 0 0 4px #201D1E,0 0 0 7px #EE3239,0 0 0 18px rgba(238,50,57,.08),0 24px 50px rgba(32,29,30,.18)}
.hv-seal.light .hv-ring{border-color:rgba(32,29,30,.25)}
.story aside .hv-seal{margin:24px 24px 30px}
@media (max-width:780px){ .raqi .wrap{grid-template-columns:1fr} .hv-seal.small{width:170px;height:170px;margin:0 auto 10px} .hv-seal.small img{width:110px} .story aside .hv-seal{width:120px;height:120px;margin:16px} .story aside .hv-seal img{width:80px} .story aside .hv-ring{inset:-14px} }
/* daily tracker */
.tracker{margin-top:30px;background:var(--ink);color:#fff;border-radius:20px;padding:22px 26px}
.tr-top{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:17px}
.tr-count{color:#F4B6B8;font-weight:700}
.tr-bar{height:10px;border-radius:99px;background:rgba(255,255,255,.12);margin:14px 0 12px;overflow:hidden}
.tr-bar span{display:block;height:100%;width:0;background:var(--red);border-radius:99px;transition:width .5s ease}
.tr-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13.5px;color:rgba(255,255,255,.78)}
.tr-reset{background:none;border:1px solid rgba(255,255,255,.4);color:#fff;border-radius:99px;padding:5px 12px;font:inherit;font-size:13px;cursor:pointer}
.dh-track{display:flex;align-items:center;gap:12px;margin:10px 0 4px;flex-wrap:wrap}
.dh-count{font:inherit;font-weight:700;font-size:15px;border:1.5px solid var(--ink);background:#fff;color:var(--ink);border-radius:99px;padding:9px 16px;cursor:pointer;transition:background .2s, transform .1s}
.dh-count:active{transform:scale(.96)}
.dh-count .num{font-family:var(--caps);font-size:17px}
.dh-count .lbl{font-weight:400;font-size:13.5px;color:var(--muted);margin-left:6px}
.dh-done{display:none;color:#17733E;font-weight:700;font-size:14.5px}
.dh-track.complete .dh-count{background:#17733E;border-color:#17733E;color:#fff}
.dh-track.complete .dh-count .lbl{color:rgba(255,255,255,.85)}
.dh-track.complete .dh-done{display:inline}
.dh.complete{border-color:#17733E;box-shadow:0 0 0 1px #17733E}
/* booking form */
.bk-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;text-align:left;margin:10px auto 6px;max-width:720px}
.bk-form label{display:grid;gap:6px;font-weight:700;font-size:14.5px;color:#fff}
.bk-form .full{grid-column:1/-1}
.bk-form input,.bk-form select,.bk-form textarea{font:inherit;font-weight:400;font-size:16px;padding:12px 14px;border-radius:12px;border:1.5px solid rgba(255,255,255,.35);background:#fff;color:var(--ink)}
.bk-form input:focus,.bk-form select:focus,.bk-form textarea:focus{outline:3px solid #fff;outline-offset:1px}
.bk-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-top:6px}
.bk-form button.btn{border:0;cursor:pointer;font:inherit;font-weight:700}
.bk-err{color:#fff;background:rgba(0,0,0,.25);padding:8px 12px;border-radius:10px;font-weight:700}
@media (max-width:640px){ .bk-form{grid-template-columns:1fr} }

.nav-book{display:none}
@media (max-width:980px){ .top.open .nav .nav-book{display:inline-flex;align-self:flex-start;margin-top:14px;border:0;font-size:16px;padding:13px 22px;color:#fff} }

/* ---------- ANIMATIONS v2 (9 Nov): clearly visible, calm, Islamic ---------- */
@keyframes riseIn{from{opacity:0;transform:translateY(34px)}to{opacity:1;transform:none}}
@keyframes archIn{from{opacity:0;transform:translateY(60px) scale(.92)}to{opacity:1;transform:none}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes ringPulse{0%,100%{box-shadow:0 0 0 7px rgba(238,50,57,.6),0 0 0 15px rgba(255,255,255,.06),0 40px 80px rgba(0,0,0,.5)}50%{box-shadow:0 0 0 7px rgba(238,50,57,.95),0 0 0 26px rgba(238,50,57,.14),0 40px 80px rgba(0,0,0,.5)}}
@keyframes drift{from{background-position:0 0}to{background-position:220px 110px}}
@keyframes breathe{0%,100%{opacity:.75;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes shine{from{transform:translateX(-120%) skewX(-20deg)}to{transform:translateX(260%) skewX(-20deg)}}
@keyframes waPulse{0%{box-shadow:0 0 0 0 rgba(23,115,62,.55),0 10px 28px rgba(0,0,0,.25)}70%{box-shadow:0 0 0 18px rgba(23,115,62,0),0 10px 28px rgba(0,0,0,.25)}100%{box-shadow:0 0 0 0 rgba(23,115,62,0),0 10px 28px rgba(0,0,0,.25)}}
@keyframes lineGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* top sections: pattern slowly drifts, red glow breathes */
.hero:before,.page-hero:before{animation:drift 40s linear infinite}
.hero:after,.page-hero:after{animation:breathe 7s ease-in-out infinite}
/* Home top: everything arrives one after another */
.hero h1{animation:riseIn .9s cubic-bezier(.2,.7,.2,1) both}
.hero p.lead{animation:riseIn .9s .18s cubic-bezier(.2,.7,.2,1) both}
.hero .cta{animation:riseIn .9s .32s cubic-bezier(.2,.7,.2,1) both}
.hero .ayah{animation:riseIn 1s .5s cubic-bezier(.2,.7,.2,1) both}
.hero .ayah:before{content:"";display:block}
.hv-arch{animation:archIn 1.1s .1s cubic-bezier(.2,.7,.2,1) both, ringPulse 4s 1.3s ease-in-out infinite}
.hv-arch img{animation:float 6s 1.3s ease-in-out infinite}
.page-hero h1{animation:riseIn .9s cubic-bezier(.2,.7,.2,1) both}
.page-hero p{animation:riseIn .9s .18s cubic-bezier(.2,.7,.2,1) both}
.page-hero .crumbs{animation:riseIn .7s both}
/* seal: dotted ring turns slowly */
.hv-ring{animation:spin 40s linear infinite}
/* red buttons: a light sweep passes over them every few seconds */
.btn-red{position:relative;overflow:hidden}
.btn-red:after{content:"";position:absolute;top:0;bottom:0;width:40%;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.35),rgba(255,255,255,0));animation:shine 3.8s 1.5s ease-in-out infinite}
/* WhatsApp button gently pulses */
.wa-float{animation:waPulse 2.6s 2s infinite}
/* cards lift on hover / tap */
.path,.dh,.svc article,.value,.course,.cbox,.myth,.teach>div{transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease}
.dh:hover,.svc article:hover,.value:hover,.course:hover,.cbox:hover,.myth:hover,.teach>div:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(32,29,30,.10)}
/* section labels: a red line draws itself */
.kicker{position:relative;display:inline-block;padding-bottom:6px}
.kicker:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--red);transform-origin:left;transform:scaleX(0)}
.reveal.in + h2, .kicker.in-line:after{animation:lineGrow .8s .2s ease forwards}
/* scroll reveal: stronger and staggered */
.reveal{opacity:0;transform:translateY(40px) scale(.98);transition:opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1)}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important}
  .reveal{opacity:1!important;transform:none!important}
}

/* ---------- v6: bigger knot pattern + huge faded calligraphy (like Syed's pamphlets) ---------- */
@keyframes drift2{from{background-position:0 0}to{background-position:280px 140px}}
.hero:before,.page-hero:before{animation:drift2 60s linear infinite}
.wm{position:absolute;z-index:-1;pointer-events:none;user-select:none;height:auto}
.wm.a{width:min(820px,150vw);left:-22%;top:-38%;opacity:.13;animation:wmFloat 14s ease-in-out infinite}
.wm.b{width:min(620px,120vw);right:-16%;bottom:-48%;opacity:.09;transform:rotate(180deg);animation:wmFloatR 18s ease-in-out infinite}
.page-hero .wm.a{width:min(620px,140vw);left:auto;right:-10%;top:-60%;opacity:.12}
.page-hero .wm.b{display:none}
.principles{position:relative;overflow:hidden;isolation:isolate}
.principles .wm.a{width:min(700px,140vw);left:auto;right:-18%;top:-30%;opacity:.06}
.principles .wm.b{display:none}
@keyframes wmFloat{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(14px,18px) rotate(2deg)}}
@keyframes wmFloatR{0%,100%{transform:rotate(180deg) translate(0,0)}50%{transform:rotate(178deg) translate(10px,-14px)}}
@media (max-width:880px){ .wm.a{width:150vw;left:-55%;top:-12%} .wm.b{width:120vw;right:-50%;bottom:-20%} .page-hero .wm.a{width:120vw;right:-45%;top:-30%} }

/* ---------- v7 (Syed: "too heavy"): lighter backgrounds ---------- */
.wm.a{opacity:.07}
.wm.b{display:none}
.page-hero .wm.a{opacity:.07}
.principles .wm.a{opacity:.035}
.hero:after,.page-hero:after{animation-duration:10s}

/* ---------- v8 (Syed): no pattern; only calligraphy + noor rays + rising light + grain ---------- */
:root{--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url%28%23n%29'/%3E%3C/svg%3E")}
.hero:before,.page-hero:before{background-image:var(--grain)!important;background-size:220px 220px;opacity:.10;animation:none!important;mix-blend-mode:overlay}
.wm.a{opacity:.09}
/* rays of light (noor) slowly turning behind the arch */
.arch-wrap{position:relative;justify-self:center;display:grid;place-items:center}
.noor{position:absolute;z-index:0;width:820px;height:820px;left:50%;top:50%;margin:-410px 0 0 -410px;border-radius:50%;
  background:repeating-conic-gradient(from 0deg, rgba(255,236,220,.10) 0deg 5deg, rgba(255,236,220,0) 5deg 15deg);
  -webkit-mask:radial-gradient(circle, #000 18%, rgba(0,0,0,.5) 38%, transparent 64%); mask:radial-gradient(circle, #000 18%, rgba(0,0,0,.5) 38%, transparent 64%);
  animation:spin 90s linear infinite, noorFade 6s ease-in-out infinite}
@keyframes noorFade{0%,100%{opacity:.7}50%{opacity:1}}
.arch-wrap .hv-arch{position:relative;z-index:1}
/* small glowing particles rising (created by script.js) */
.motes{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.mote{position:absolute;bottom:-12px;border-radius:50%;background:radial-gradient(circle, rgba(255,214,200,.95), rgba(238,50,57,0) 70%);animation:rise linear infinite;opacity:0}
@keyframes rise{0%{transform:translate(0,0);opacity:0}12%{opacity:.85}85%{opacity:.6}100%{transform:translate(var(--dx),-115vh);opacity:0}}
@media (max-width:880px){ .arch-wrap{order:-1;margin-bottom:10px} .noor{width:560px;height:560px;margin:-280px 0 0 -280px} }
@media (prefers-reduced-motion:reduce){ .motes{display:none} }

/* ---------- v9 (Syed: "more professional, the environment should move") ---------- */
/* remove the cheap bits */
.hero:before,.page-hero:before{background-image:none!important;opacity:0!important}
.noor,.motes{display:none!important}
.hero:after,.page-hero:after{display:none}

/* 1. living light: slow silky waves of crimson moving through the dark */
.aurora{position:absolute;inset:-20%;z-index:-2;pointer-events:none;filter:blur(70px);opacity:.9}
.aurora span{position:absolute;border-radius:50%;mix-blend-mode:screen;will-change:transform}
.aurora span:nth-child(1){width:55%;height:60%;left:48%;top:0%;background:radial-gradient(closest-side,rgba(238,50,57,.55),rgba(238,50,57,0));animation:au1 22s ease-in-out infinite alternate}
.aurora span:nth-child(2){width:45%;height:55%;left:10%;top:40%;background:radial-gradient(closest-side,rgba(150,22,40,.55),rgba(150,22,40,0));animation:au2 28s ease-in-out infinite alternate}
.aurora span:nth-child(3){width:38%;height:45%;left:62%;top:52%;background:radial-gradient(closest-side,rgba(255,120,110,.22),rgba(255,120,110,0));animation:au3 18s ease-in-out infinite alternate}
@keyframes au1{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-18%,14%) scale(1.15)}100%{transform:translate(-30%,-6%) scale(.95)}}
@keyframes au2{0%{transform:translate(0,0) scale(1)}50%{transform:translate(22%,-18%) scale(1.2)}100%{transform:translate(40%,6%) scale(1)}}
@keyframes au3{0%{transform:translate(0,0) scale(.9)}50%{transform:translate(-26%,-20%) scale(1.15)}100%{transform:translate(-8%,-34%) scale(1)}}
.page-hero .aurora{opacity:.75}

/* 2. the calligraphy draws itself, then softly fills */
.draw-mark{position:absolute;z-index:-1;pointer-events:none;width:min(860px,150vw);height:auto;left:-14%;top:-30%;opacity:1;will-change:transform}
.page-hero .draw-mark{left:auto;right:-8%;top:-55%;width:min(640px,130vw)}
.draw-mark path{fill-opacity:0;stroke-width:46;stroke-linejoin:round;transition:fill-opacity 2.4s ease}
.draw-mark .dm-main path{fill:#fff;stroke:rgba(255,255,255,.38)}
.draw-mark .dm-accent path{fill:#EE3239;stroke:rgba(238,50,57,.75)}
.draw-mark.drawn .dm-main path{fill-opacity:.075;stroke:rgba(255,255,255,.10)}
.draw-mark.drawn .dm-accent path{fill-opacity:.16;stroke:rgba(238,50,57,.15)}
.draw-mark.drawn path{transition:fill-opacity 2.4s ease, stroke 2.4s ease}
@media (max-width:880px){ .draw-mark{width:150vw;left:-55%;top:-10%} .page-hero .draw-mark{width:130vw;right:-50%;top:-25%} }

/* 3. headline words rise into view */
.w{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.08em;margin-bottom:-.08em}
.w > span{display:inline-block;transform:translateY(105%);animation:wordUp .9s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes wordUp{to{transform:none}}
.hero h1,.page-hero h1{animation:none!important}

/* 4. depth: arch + calligraphy move separately (driven by script) */
.arch-wrap{transition:transform .2s ease-out;will-change:transform;perspective:900px}
.arch-wrap .hv-arch{transform-style:preserve-3d}

/* About timeline: line draws as you scroll */
.timeline:after{content:"";position:absolute;left:92px;top:8px;width:2px;height:var(--tl,0%);background:var(--red);transition:height .15s linear}
@media (max-width:560px){ .timeline:after{left:6px} }

@media (prefers-reduced-motion:reduce){
  .aurora span,.w > span{animation:none!important;transform:none!important}
  .draw-mark path{fill-opacity:.08!important;stroke:none!important}
}
.page-hero h1 .w,.page-hero h1 .w > span,.hero h1 .w,.hero h1 .w > span{color:inherit}
.hero h1{margin-bottom:28px}

/* ---------- v10: Home without the arch; the calligraphy itself is the hero visual ---------- */
.hero-art .wrap{grid-template-columns:1.1fr .9fr;min-height:620px}
.hero-art .draw-mark{left:auto;right:-6%;top:50%;width:min(700px,60vw);margin-top:-360px}
.hero-art .draw-mark .dm-main path{stroke:rgba(255,255,255,.55)}
.hero-art .draw-mark .dm-accent path{stroke:rgba(238,50,57,.9)}
.hero-art .draw-mark.drawn .dm-main path{fill-opacity:.17;stroke:rgba(255,255,255,.22)}
.hero-art .draw-mark.drawn .dm-accent path{fill-opacity:.55;stroke:rgba(238,50,57,.4)}
.page-hero .draw-mark{right:-4%;top:50%;margin-top:-300px;width:min(560px,50vw)}
.page-hero .draw-mark.drawn .dm-main path{fill-opacity:.12}
.page-hero .draw-mark.drawn .dm-accent path{fill-opacity:.38}
.draw-mark.drawn{animation:markBreathe 9s ease-in-out infinite}
@keyframes markBreathe{0%,100%{opacity:1}50%{opacity:.8}}
@media (max-width:880px){
  .hero-art .wrap{grid-template-columns:1fr;min-height:0;padding-top:300px}
  .hero-art .draw-mark{width:100vw;right:auto;left:0;top:10px;margin-top:0}
  .page-hero .draw-mark{width:90vw;right:-30%;top:-10px;margin-top:0}
}

/* section titles: words rise as they scroll into view */
h2.wr .w > span{animation:none;transform:translateY(105%)}
h2.wr.go .w > span{animation:wordUp .85s cubic-bezier(.2,.8,.2,1) forwards}

/* light sections: soft moving light */
.principles .aurora,.chooser .aurora{inset:-10%;filter:blur(80px);opacity:.55;z-index:-1}
.principles .aurora span,.chooser .aurora span{mix-blend-mode:multiply}
.principles .aurora span:nth-child(1),.chooser .aurora span:nth-child(1){background:radial-gradient(closest-side,rgba(238,50,57,.16),rgba(238,50,57,0))}
.principles .aurora span:nth-child(2),.chooser .aurora span:nth-child(2){background:radial-gradient(closest-side,rgba(200,34,42,.10),rgba(200,34,42,0))}
.principles .aurora span:nth-child(3),.chooser .aurora span:nth-child(3){background:radial-gradient(closest-side,rgba(255,170,150,.18),rgba(255,170,150,0))}
.chooser{position:relative;overflow:hidden;isolation:isolate}

/* cards tilt toward the pointer (script) */
.tilt{transform-style:preserve-3d;will-change:transform}
/* FAQ answers glide open */
details[open] > *:not(summary){animation:riseIn .45s cubic-bezier(.2,.8,.2,1)}
/* light-section calligraphy drifts with scroll (script) */
.principles .wm.a{transition:transform .2s linear}

/* ---------- v11 (Syed): first star pattern back on dark; slight GOLD pattern on white/light areas ---------- */
:root{--first-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.4'%3E%3Cpolygon points='80.6,48 48,80.6 15.4,48 48,15.4'/%3E%3Cpolygon points='71.1,24.9 71.1,71.1 24.9,71.1 24.9,24.9'/%3E%3Cpath d='M0 48H15.4M80.6 48H96M48 0V15.4M48 80.6V96'/%3E%3C/g%3E%3C/svg%3E");--first-gold:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.1' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='80.6,48 48,80.6 15.4,48 48,15.4'/%3E%3Cpolygon points='71.1,24.9 71.1,71.1 24.9,71.1 24.9,24.9'/%3E%3Cpath d='M0 48H15.4M80.6 48H96M48 0V15.4M48 80.6V96'/%3E%3C/g%3E%3C/svg%3E")}
.hero:before,.page-hero:before{background-image:var(--first-dark)!important;opacity:1!important;mix-blend-mode:normal!important;animation:drift 40s linear infinite!important;background-size:96px 96px}
body{background-color:#fff;background-image:var(--first-gold);background-attachment:fixed}
.principles{background-color:var(--mist);background-image:var(--first-gold)}
.chooser{background:transparent}
footer{background-image:var(--first-gold)}
.top{background:rgba(255,255,255,.96)}
/* logo band right after the Home top */
.brandband{padding:70px 0 40px;text-align:center;position:relative}
.brandband .wrap{display:flex;flex-direction:column;align-items:center}
.bb-logo{width:min(300px,62vw);height:auto;opacity:0;transform:scale(.9) translateY(20px);transition:opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.8,.2,1)}
.brandband.in .bb-logo{opacity:1;transform:none}
.bb-orn{display:flex;align-items:center;gap:16px;margin-top:22px;color:#B8892B;font-family:var(--caps);letter-spacing:.3em;font-size:13px}
.bb-orn:before,.bb-orn:after{content:"";height:1px;width:110px;background:linear-gradient(90deg,rgba(184,137,43,0),#B8892B);transform:scaleX(0);transition:transform 1.2s .4s ease}
.bb-orn:after{background:linear-gradient(90deg,#B8892B,rgba(184,137,43,0));transform-origin:left}
.bb-orn:before{transform-origin:right}
.brandband.in .bb-orn:before,.brandband.in .bb-orn:after{transform:scaleX(1)}
.bb-orn span{color:#8A6516}
@media (prefers-reduced-motion:reduce){ .bb-logo{opacity:1;transform:none} }


/* ---------- v13 (Syed): section backgrounds back to v11 (first star; dark tighter; gold on white) ---------- */
.hero:before,.page-hero:before{background-size:64px 64px!important}
.raqi{background-image:var(--first-dark);background-size:64px 64px}
/* each BOX gets its own Islamic pattern (set by script.js) */
.bx1{background-image:var(--bg1);background-size:56px auto}
.bx1.bx-dark{background-image:var(--bw1)}
.bx2{background-image:var(--bg2);background-size:80px auto}
.bx2.bx-dark{background-image:var(--bw2)}
.bx3{background-image:var(--bg3);background-size:36px auto}
.bx3.bx-dark{background-image:var(--bw3)}
.bx4{background-image:var(--bg4);background-size:50px auto}
.bx4.bx-dark{background-image:var(--bw4)}
.bx5{background-image:var(--bg5);background-size:90px auto}
.bx5.bx-dark{background-image:var(--bw5)}
.bx6{background-image:var(--bg6);background-size:52px auto}
.bx6.bx-dark{background-image:var(--bw6)}
.bx7{background-image:var(--bg7);background-size:46px auto}
.bx7.bx-dark{background-image:var(--bw7)}
:root{--bg1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='80.6,48 48,80.6 15.4,48 48,15.4'/%3E%3Cpolygon points='71.1,24.9 71.1,71.1 24.9,71.1 24.9,24.9'/%3E%3Cpath d='M0 48H15.4M80.6 48H96M48 0V15.4M48 80.6V96'/%3E%3C/g%3E%3C/svg%3E");--bw1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='80.6,48 48,80.6 15.4,48 48,15.4'/%3E%3Cpolygon points='71.1,24.9 71.1,71.1 24.9,71.1 24.9,24.9'/%3E%3Cpath d='M0 48H15.4M80.6 48H96M48 0V15.4M48 80.6V96'/%3E%3C/g%3E%3C/svg%3E");--bg2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.3'%3E%3Cpolygon points=%2270.00,0.00 49.50,20.50 49.50,49.50 20.50,49.50 0.00,70.00 -20.50,49.50 -49.50,49.50 -49.50,20.50 -70.00,0.00 -49.50,-20.50 -49.50,-49.50 -20.50,-49.50 -0.00,-70.00 20.50,-49.50 49.50,-49.50 49.50,-20.50%22/%3E%3Cpolygon points=%2236.40,0.00 25.73,10.66 25.74,25.74 10.66,25.73 0.00,36.40 -10.66,25.73 -25.74,25.74 -25.73,10.66 -36.40,0.00 -25.73,-10.66 -25.74,-25.74 -10.66,-25.73 -0.00,-36.40 10.66,-25.73 25.74,-25.74 25.73,-10.66%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2212.60%22/%3E%3Cpolygon points=%22210.00,0.00 189.50,20.50 189.50,49.50 160.50,49.50 140.00,70.00 119.50,49.50 90.50,49.50 90.50,20.50 70.00,0.00 90.50,-20.50 90.50,-49.50 119.50,-49.50 140.00,-70.00 160.50,-49.50 189.50,-49.50 189.50,-20.50%22/%3E%3Cpolygon points=%22176.40,0.00 165.73,10.66 165.74,25.74 150.66,25.73 140.00,36.40 129.34,25.73 114.26,25.74 114.27,10.66 103.60,0.00 114.27,-10.66 114.26,-25.74 129.34,-25.73 140.00,-36.40 150.66,-25.73 165.74,-25.74 165.73,-10.66%22/%3E%3Ccircle cx=%22140%22 cy=%220%22 r=%2212.60%22/%3E%3Cpolygon points=%2270.00,140.00 49.50,160.50 49.50,189.50 20.50,189.50 0.00,210.00 -20.50,189.50 -49.50,189.50 -49.50,160.50 -70.00,140.00 -49.50,119.50 -49.50,90.50 -20.50,90.50 -0.00,70.00 20.50,90.50 49.50,90.50 49.50,119.50%22/%3E%3Cpolygon points=%2236.40,140.00 25.73,150.66 25.74,165.74 10.66,165.73 0.00,176.40 -10.66,165.73 -25.74,165.74 -25.73,150.66 -36.40,140.00 -25.73,129.34 -25.74,114.26 -10.66,114.27 -0.00,103.60 10.66,114.27 25.74,114.26 25.73,129.34%22/%3E%3Ccircle cx=%220%22 cy=%22140%22 r=%2212.60%22/%3E%3Cpolygon points=%22210.00,140.00 189.50,160.50 189.50,189.50 160.50,189.50 140.00,210.00 119.50,189.50 90.50,189.50 90.50,160.50 70.00,140.00 90.50,119.50 90.50,90.50 119.50,90.50 140.00,70.00 160.50,90.50 189.50,90.50 189.50,119.50%22/%3E%3Cpolygon points=%22176.40,140.00 165.73,150.66 165.74,165.74 150.66,165.73 140.00,176.40 129.34,165.73 114.26,165.74 114.27,150.66 103.60,140.00 114.27,129.34 114.26,114.26 129.34,114.27 140.00,103.60 150.66,114.27 165.74,114.26 165.73,129.34%22/%3E%3Ccircle cx=%22140%22 cy=%22140%22 r=%2212.60%22/%3E%3Cpolygon points=%2289.40,78.04 78.04,89.40 61.96,89.40 50.60,78.04 50.60,61.96 61.96,50.60 78.04,50.60 89.40,61.96%22/%3E%3Ccircle cx=%2270.0%22 cy=%2270.0%22 r=%225.60%22/%3E%3C/g%3E%3C/svg%3E");--bw2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.3'%3E%3Cpolygon points=%2270.00,0.00 49.50,20.50 49.50,49.50 20.50,49.50 0.00,70.00 -20.50,49.50 -49.50,49.50 -49.50,20.50 -70.00,0.00 -49.50,-20.50 -49.50,-49.50 -20.50,-49.50 -0.00,-70.00 20.50,-49.50 49.50,-49.50 49.50,-20.50%22/%3E%3Cpolygon points=%2236.40,0.00 25.73,10.66 25.74,25.74 10.66,25.73 0.00,36.40 -10.66,25.73 -25.74,25.74 -25.73,10.66 -36.40,0.00 -25.73,-10.66 -25.74,-25.74 -10.66,-25.73 -0.00,-36.40 10.66,-25.73 25.74,-25.74 25.73,-10.66%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2212.60%22/%3E%3Cpolygon points=%22210.00,0.00 189.50,20.50 189.50,49.50 160.50,49.50 140.00,70.00 119.50,49.50 90.50,49.50 90.50,20.50 70.00,0.00 90.50,-20.50 90.50,-49.50 119.50,-49.50 140.00,-70.00 160.50,-49.50 189.50,-49.50 189.50,-20.50%22/%3E%3Cpolygon points=%22176.40,0.00 165.73,10.66 165.74,25.74 150.66,25.73 140.00,36.40 129.34,25.73 114.26,25.74 114.27,10.66 103.60,0.00 114.27,-10.66 114.26,-25.74 129.34,-25.73 140.00,-36.40 150.66,-25.73 165.74,-25.74 165.73,-10.66%22/%3E%3Ccircle cx=%22140%22 cy=%220%22 r=%2212.60%22/%3E%3Cpolygon points=%2270.00,140.00 49.50,160.50 49.50,189.50 20.50,189.50 0.00,210.00 -20.50,189.50 -49.50,189.50 -49.50,160.50 -70.00,140.00 -49.50,119.50 -49.50,90.50 -20.50,90.50 -0.00,70.00 20.50,90.50 49.50,90.50 49.50,119.50%22/%3E%3Cpolygon points=%2236.40,140.00 25.73,150.66 25.74,165.74 10.66,165.73 0.00,176.40 -10.66,165.73 -25.74,165.74 -25.73,150.66 -36.40,140.00 -25.73,129.34 -25.74,114.26 -10.66,114.27 -0.00,103.60 10.66,114.27 25.74,114.26 25.73,129.34%22/%3E%3Ccircle cx=%220%22 cy=%22140%22 r=%2212.60%22/%3E%3Cpolygon points=%22210.00,140.00 189.50,160.50 189.50,189.50 160.50,189.50 140.00,210.00 119.50,189.50 90.50,189.50 90.50,160.50 70.00,140.00 90.50,119.50 90.50,90.50 119.50,90.50 140.00,70.00 160.50,90.50 189.50,90.50 189.50,119.50%22/%3E%3Cpolygon points=%22176.40,140.00 165.73,150.66 165.74,165.74 150.66,165.73 140.00,176.40 129.34,165.73 114.26,165.74 114.27,150.66 103.60,140.00 114.27,129.34 114.26,114.26 129.34,114.27 140.00,103.60 150.66,114.27 165.74,114.26 165.73,129.34%22/%3E%3Ccircle cx=%22140%22 cy=%22140%22 r=%2212.60%22/%3E%3Cpolygon points=%2289.40,78.04 78.04,89.40 61.96,89.40 50.60,78.04 50.60,61.96 61.96,50.60 78.04,50.60 89.40,61.96%22/%3E%3Ccircle cx=%2270.0%22 cy=%2270.0%22 r=%225.60%22/%3E%3C/g%3E%3C/svg%3E");--bg3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0,0 L64,64 M64,0 L0,64'/%3E%3Cpath d='M-32.0,32.0 L32.0,96.0 M32.0,-32.0 L96.0,32.0 M32.0,96.0 L96.0,32.0 M-32.0,32.0 L32.0,-32.0'/%3E%3Ccircle cx='0' cy='0' r='6.4'/%3E%3Ccircle cx='64' cy='0' r='6.4'/%3E%3Ccircle cx='0' cy='64' r='6.4'/%3E%3Ccircle cx='64' cy='64' r='6.4'/%3E%3Ccircle cx='32.0' cy='32.0' r='6.4'/%3E%3Ccircle cx='32.0' cy='0' r='2.9'/%3E%3Ccircle cx='0' cy='32.0' r='2.9'/%3E%3Ccircle cx='64' cy='32.0' r='2.9'/%3E%3Ccircle cx='32.0' cy='64' r='2.9'/%3E%3C/g%3E%3C/svg%3E");--bw3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0,0 L64,64 M64,0 L0,64'/%3E%3Cpath d='M-32.0,32.0 L32.0,96.0 M32.0,-32.0 L96.0,32.0 M32.0,96.0 L96.0,32.0 M-32.0,32.0 L32.0,-32.0'/%3E%3Ccircle cx='0' cy='0' r='6.4'/%3E%3Ccircle cx='64' cy='0' r='6.4'/%3E%3Ccircle cx='0' cy='64' r='6.4'/%3E%3Ccircle cx='64' cy='64' r='6.4'/%3E%3Ccircle cx='32.0' cy='32.0' r='6.4'/%3E%3Ccircle cx='32.0' cy='0' r='2.9'/%3E%3Ccircle cx='0' cy='32.0' r='2.9'/%3E%3Ccircle cx='64' cy='32.0' r='2.9'/%3E%3Ccircle cx='32.0' cy='64' r='2.9'/%3E%3C/g%3E%3C/svg%3E");--bg4:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='0' cy='0' r='45.0'/%3E%3Ccircle cx='0' cy='45.0' r='45.0'/%3E%3Ccircle cx='0' cy='90' r='45.0'/%3E%3Ccircle cx='45.0' cy='0' r='45.0'/%3E%3Ccircle cx='45.0' cy='45.0' r='45.0'/%3E%3Ccircle cx='45.0' cy='90' r='45.0'/%3E%3Ccircle cx='90' cy='0' r='45.0'/%3E%3Ccircle cx='90' cy='45.0' r='45.0'/%3E%3Ccircle cx='90' cy='90' r='45.0'/%3E%3Ccircle cx='22.5' cy='22.5' r='3.2'/%3E%3Ccircle cx='67.5' cy='22.5' r='3.2'/%3E%3Ccircle cx='22.5' cy='67.5' r='3.2'/%3E%3Ccircle cx='67.5' cy='67.5' r='3.2'/%3E%3C/g%3E%3C/svg%3E");--bw4:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='0' cy='0' r='45.0'/%3E%3Ccircle cx='0' cy='45.0' r='45.0'/%3E%3Ccircle cx='0' cy='90' r='45.0'/%3E%3Ccircle cx='45.0' cy='0' r='45.0'/%3E%3Ccircle cx='45.0' cy='45.0' r='45.0'/%3E%3Ccircle cx='45.0' cy='90' r='45.0'/%3E%3Ccircle cx='90' cy='0' r='45.0'/%3E%3Ccircle cx='90' cy='45.0' r='45.0'/%3E%3Ccircle cx='90' cy='90' r='45.0'/%3E%3Ccircle cx='22.5' cy='22.5' r='3.2'/%3E%3Ccircle cx='67.5' cy='22.5' r='3.2'/%3E%3Ccircle cx='22.5' cy='67.5' r='3.2'/%3E%3Ccircle cx='67.5' cy='67.5' r='3.2'/%3E%3C/g%3E%3C/svg%3E");--bg5:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0,0 C0.0,45.0 90.0,45.0 90.0,90.0 C90.0,135.0 0,135.0 0,180'/%3E%3Cpath d='M0,0 C0,45.0 -90.0,45.0 -90.0,90.0 C-90.0,135.0 0,135.0 0,180'/%3E%3Cpath d='M180,0 C180.0,45.0 270.0,45.0 270.0,90.0 C270.0,135.0 180,135.0 180,180'/%3E%3Cpath d='M180,0 C180,45.0 90.0,45.0 90.0,90.0 C90.0,135.0 180,135.0 180,180'/%3E%3Cpath d='M90.0,19.8 Q83.7,28.8 90.0,37.8 Q96.3,28.8 90.0,19.8Z'/%3E%3Cpath d='M90.0,160.2 Q96.3,151.2 90.0,142.2 Q83.7,151.2 90.0,160.2Z'/%3E%3Cpath d='M90.0,104.4 Q99.0,89.1 90.0,73.8 Q81.0,89.1 90.0,104.4Z'/%3E%3Cpath d='M90.0,100.8 Q88.0,87.2 75.0,82.9 Q77.0,96.5 90.0,100.8Z'/%3E%3Cpath d='M90.0,100.8 Q103.0,96.5 105.0,82.9 Q92.0,87.2 90.0,100.8Z'/%3E%3Ccircle cx='90.0' cy='108.0' r='3.2'/%3E%3Cpath d='M0.0,14.4 Q-7.2,25.2 0.0,36.0 Q7.2,25.2 0.0,14.4Z'/%3E%3Cpath d='M180.0,14.4 Q172.8,25.2 180.0,36.0 Q187.2,25.2 180.0,14.4Z'/%3E%3Cpath d='M0.0,165.6 Q7.2,154.8 0.0,144.0 Q-7.2,154.8 0.0,165.6Z'/%3E%3Cpath d='M180.0,165.6 Q187.2,154.8 180.0,144.0 Q172.8,154.8 180.0,165.6Z'/%3E%3C/g%3E%3C/svg%3E");--bw5:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0,0 C0.0,45.0 90.0,45.0 90.0,90.0 C90.0,135.0 0,135.0 0,180'/%3E%3Cpath d='M0,0 C0,45.0 -90.0,45.0 -90.0,90.0 C-90.0,135.0 0,135.0 0,180'/%3E%3Cpath d='M180,0 C180.0,45.0 270.0,45.0 270.0,90.0 C270.0,135.0 180,135.0 180,180'/%3E%3Cpath d='M180,0 C180,45.0 90.0,45.0 90.0,90.0 C90.0,135.0 180,135.0 180,180'/%3E%3Cpath d='M90.0,19.8 Q83.7,28.8 90.0,37.8 Q96.3,28.8 90.0,19.8Z'/%3E%3Cpath d='M90.0,160.2 Q96.3,151.2 90.0,142.2 Q83.7,151.2 90.0,160.2Z'/%3E%3Cpath d='M90.0,104.4 Q99.0,89.1 90.0,73.8 Q81.0,89.1 90.0,104.4Z'/%3E%3Cpath d='M90.0,100.8 Q88.0,87.2 75.0,82.9 Q77.0,96.5 90.0,100.8Z'/%3E%3Cpath d='M90.0,100.8 Q103.0,96.5 105.0,82.9 Q92.0,87.2 90.0,100.8Z'/%3E%3Ccircle cx='90.0' cy='108.0' r='3.2'/%3E%3Cpath d='M0.0,14.4 Q-7.2,25.2 0.0,36.0 Q7.2,25.2 0.0,14.4Z'/%3E%3Cpath d='M180.0,14.4 Q172.8,25.2 180.0,36.0 Q187.2,25.2 180.0,14.4Z'/%3E%3Cpath d='M0.0,165.6 Q7.2,154.8 0.0,144.0 Q-7.2,154.8 0.0,165.6Z'/%3E%3Cpath d='M180.0,165.6 Q187.2,154.8 180.0,144.0 Q172.8,154.8 180.0,165.6Z'/%3E%3C/g%3E%3C/svg%3E");--bg6:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='145.5'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.3'%3E%3Cpolygon points='0.0,-30.2 26.2,15.1 -26.2,15.1'/%3E%3Cpolygon points='26.2,-15.1 0.0,30.2 -26.2,-15.1'/%3E%3Ccircle cx='0' cy='0' r='6.7'/%3E%3Cpolygon points='84.0,-30.2 110.2,15.1 57.8,15.1'/%3E%3Cpolygon points='110.2,-15.1 84.0,30.2 57.8,-15.1'/%3E%3Ccircle cx='84' cy='0' r='6.7'/%3E%3Cpolygon points='42.0,42.5 68.2,87.9 15.8,87.9'/%3E%3Cpolygon points='68.2,57.6 42.0,103.0 15.8,57.6'/%3E%3Ccircle cx='42.0' cy='72.74613391789285' r='6.7'/%3E%3Cpolygon points='0.0,115.3 26.2,160.6 -26.2,160.6'/%3E%3Cpolygon points='26.2,130.4 0.0,175.7 -26.2,130.4'/%3E%3Ccircle cx='0' cy='145.4922678357857' r='6.7'/%3E%3Cpolygon points='84.0,115.3 110.2,160.6 57.8,160.6'/%3E%3Cpolygon points='110.2,130.4 84.0,175.7 57.8,130.4'/%3E%3Ccircle cx='84' cy='145.4922678357857' r='6.7'/%3E%3C/g%3E%3C/svg%3E");--bw6:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='145.5'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.3'%3E%3Cpolygon points='0.0,-30.2 26.2,15.1 -26.2,15.1'/%3E%3Cpolygon points='26.2,-15.1 0.0,30.2 -26.2,-15.1'/%3E%3Ccircle cx='0' cy='0' r='6.7'/%3E%3Cpolygon points='84.0,-30.2 110.2,15.1 57.8,15.1'/%3E%3Cpolygon points='110.2,-15.1 84.0,30.2 57.8,-15.1'/%3E%3Ccircle cx='84' cy='0' r='6.7'/%3E%3Cpolygon points='42.0,42.5 68.2,87.9 15.8,87.9'/%3E%3Cpolygon points='68.2,57.6 42.0,103.0 15.8,57.6'/%3E%3Ccircle cx='42.0' cy='72.74613391789285' r='6.7'/%3E%3Cpolygon points='0.0,115.3 26.2,160.6 -26.2,160.6'/%3E%3Cpolygon points='26.2,130.4 0.0,175.7 -26.2,130.4'/%3E%3Ccircle cx='0' cy='145.4922678357857' r='6.7'/%3E%3Cpolygon points='84.0,115.3 110.2,160.6 57.8,160.6'/%3E%3Cpolygon points='110.2,130.4 84.0,175.7 57.8,130.4'/%3E%3Ccircle cx='84' cy='145.4922678357857' r='6.7'/%3E%3C/g%3E%3C/svg%3E");--bg7:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.07' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='73.9,40.0 40.0,73.9 6.1,40.0 40.0,6.1'/%3E%3Cpolygon points='64.0,64.0 16.0,64.0 16.0,16.0 64.0,16.0'/%3E%3Ccircle cx='40.0' cy='40.0' r='9.6'/%3E%3Cpath d='M0 0L9.6 9.6M80 0L70.4 9.6M0 80L9.6 70.4M80 80L70.4 70.4'/%3E%3C/g%3E%3C/svg%3E");--bw7:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.08' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='73.9,40.0 40.0,73.9 6.1,40.0 40.0,6.1'/%3E%3Cpolygon points='64.0,64.0 16.0,64.0 16.0,16.0 64.0,16.0'/%3E%3Ccircle cx='40.0' cy='40.0' r='9.6'/%3E%3Cpath d='M0 0L9.6 9.6M80 0L70.4 9.6M0 80L9.6 70.4M80 80L70.4 70.4'/%3E%3C/g%3E%3C/svg%3E");}

/* v14: page background gold much fainter so the box patterns lead */

/* ---------- v15: each section has its own entrance, hover and tap feel ---------- */
::selection{background:var(--red-deep);color:#fff}
/* reading progress bar */
.readbar{position:fixed;left:0;top:0;height:3px;width:100%;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,#C8222A,#EE3239,#B8892B);z-index:60}
/* nav links: underline slides in */
.nav a{position:relative;border-bottom:0!important}
.nav a:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:right;transition:transform .35s ease}
.nav a:hover:after,.nav a[aria-current]:after{transform:scaleX(1);transform-origin:left}

/* six entrance styles (a1..a6); .in = visible */
.reveal.a1{opacity:0;transform:translateY(46px)}
.reveal.a2{opacity:0;transform:translateX(-70px)}
.reveal.a3{opacity:0;transform:scale(.86)}
.reveal.a4{opacity:0;transform:perspective(900px) rotateX(28deg) translateY(30px);transform-origin:top}
.reveal.a5{opacity:0;filter:blur(12px);transform:translateY(16px)}
.reveal.a6{opacity:1;clip-path:inset(0 0 100% 0);transform:translateY(20px)}
.reveal.a1,.reveal.a2,.reveal.a3,.reveal.a4,.reveal.a5,.reveal.a6{transition:opacity .9s cubic-bezier(.2,.8,.2,1),transform .9s cubic-bezier(.2,.8,.2,1),filter .9s ease,clip-path 1s cubic-bezier(.7,0,.2,1)}
.reveal.in.a1,.reveal.in.a2,.reveal.in.a3,.reveal.in.a4,.reveal.in.a5{opacity:1;transform:none;filter:none}
.reveal.in.a6{clip-path:inset(0 0 0 0);transform:none}
.reveal.a2:nth-child(even){transform:translateX(70px)}
.reveal.in.a2:nth-child(even){transform:none}

/* six hover styles for boxes (h1..h6) */
.h1,.h2,.h3,.h4,.h5,.h6{position:relative;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,background-size .8s ease,border-color .35s ease}
.h1:hover{transform:translateY(-8px)!important;box-shadow:0 22px 44px rgba(200,34,42,.18)}
.h2:after{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;border:2px solid #B8892B;clip-path:inset(0 100% 100% 0);transition:clip-path .7s cubic-bezier(.7,0,.2,1)}
.h2:hover:after{clip-path:inset(0 0 0 0)}
.h3:hover{background-size:140% auto!important;transform:scale(1.02)}
.h4{overflow:hidden}
.h4:before{content:"";position:absolute;left:0;top:0;height:4px;width:100%;background:linear-gradient(90deg,var(--red),#B8892B);transform:scaleX(0);transform-origin:left;transition:transform .5s ease;z-index:1}
.h4:hover:before{transform:scaleX(1)}
.h4:hover{transform:translateY(-4px)}
.h5:hover{box-shadow:0 0 0 1px rgba(238,50,57,.5),0 0 36px rgba(238,50,57,.22)}
.h6{overflow:hidden}
.h6:before{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transform:skewX(-18deg);transition:left .8s ease;pointer-events:none;z-index:2}
.h6:hover:before{left:130%}
.h6:hover{transform:translateY(-5px)}
@media (hover:none){ .h1:active,.h4:active,.h6:active{transform:scale(.98)} }

/* tap ripple */
.rip{position:absolute;border-radius:50%;pointer-events:none;transform:scale(0);opacity:.35;background:currentColor;animation:rip .65s ease-out forwards;z-index:3}
@keyframes rip{to{transform:scale(1);opacity:0}}
.ripple-host{position:relative;overflow:hidden}

/* section titles: a different underline per section when it comes in */
h2.wr.go{background-image:linear-gradient(90deg,rgba(238,50,57,.18),rgba(184,137,43,.18));background-size:0 30%;background-position:0 88%;background-repeat:no-repeat;animation:hl 1.2s .5s ease forwards}
@keyframes hl{to{background-size:100% 30%}}
@media (prefers-reduced-motion:reduce){ .reveal{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important} .readbar{display:none} }
.rip{background:rgba(238,50,57,.55)}
.btn-red .rip,.btn-ghost .rip,.path.feature .rip,.ch-btn.on .rip,.book .rip{background:rgba(255,255,255,.7)}
/* v16: hover style 5 = calm elevation + red edge instead of a coloured glow */
.h5:hover{box-shadow:0 16px 36px rgba(32,29,30,.12);border-color:var(--red)!important;transform:translateY(-4px)}
.bx1{--bs:var(--bs1)}
.bx2{--bs:var(--bs2)}
.bx3{--bs:var(--bs3)}
.bx4{--bs:var(--bs4)}
.bx5{--bs:var(--bs5)}
.bx6{--bs:var(--bs6)}
.bx7{--bs:var(--bs7)}
:root{--bs1:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='80.6,48 48,80.6 15.4,48 48,15.4'/%3E%3Cpolygon points='71.1,24.9 71.1,71.1 24.9,71.1 24.9,24.9'/%3E%3Cpath d='M0 48H15.4M80.6 48H96M48 0V15.4M48 80.6V96'/%3E%3C/g%3E%3C/svg%3E");--bs2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.3'%3E%3Cpolygon points=%2270.00,0.00 49.50,20.50 49.50,49.50 20.50,49.50 0.00,70.00 -20.50,49.50 -49.50,49.50 -49.50,20.50 -70.00,0.00 -49.50,-20.50 -49.50,-49.50 -20.50,-49.50 -0.00,-70.00 20.50,-49.50 49.50,-49.50 49.50,-20.50%22/%3E%3Cpolygon points=%2236.40,0.00 25.73,10.66 25.74,25.74 10.66,25.73 0.00,36.40 -10.66,25.73 -25.74,25.74 -25.73,10.66 -36.40,0.00 -25.73,-10.66 -25.74,-25.74 -10.66,-25.73 -0.00,-36.40 10.66,-25.73 25.74,-25.74 25.73,-10.66%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2212.60%22/%3E%3Cpolygon points=%22210.00,0.00 189.50,20.50 189.50,49.50 160.50,49.50 140.00,70.00 119.50,49.50 90.50,49.50 90.50,20.50 70.00,0.00 90.50,-20.50 90.50,-49.50 119.50,-49.50 140.00,-70.00 160.50,-49.50 189.50,-49.50 189.50,-20.50%22/%3E%3Cpolygon points=%22176.40,0.00 165.73,10.66 165.74,25.74 150.66,25.73 140.00,36.40 129.34,25.73 114.26,25.74 114.27,10.66 103.60,0.00 114.27,-10.66 114.26,-25.74 129.34,-25.73 140.00,-36.40 150.66,-25.73 165.74,-25.74 165.73,-10.66%22/%3E%3Ccircle cx=%22140%22 cy=%220%22 r=%2212.60%22/%3E%3Cpolygon points=%2270.00,140.00 49.50,160.50 49.50,189.50 20.50,189.50 0.00,210.00 -20.50,189.50 -49.50,189.50 -49.50,160.50 -70.00,140.00 -49.50,119.50 -49.50,90.50 -20.50,90.50 -0.00,70.00 20.50,90.50 49.50,90.50 49.50,119.50%22/%3E%3Cpolygon points=%2236.40,140.00 25.73,150.66 25.74,165.74 10.66,165.73 0.00,176.40 -10.66,165.73 -25.74,165.74 -25.73,150.66 -36.40,140.00 -25.73,129.34 -25.74,114.26 -10.66,114.27 -0.00,103.60 10.66,114.27 25.74,114.26 25.73,129.34%22/%3E%3Ccircle cx=%220%22 cy=%22140%22 r=%2212.60%22/%3E%3Cpolygon points=%22210.00,140.00 189.50,160.50 189.50,189.50 160.50,189.50 140.00,210.00 119.50,189.50 90.50,189.50 90.50,160.50 70.00,140.00 90.50,119.50 90.50,90.50 119.50,90.50 140.00,70.00 160.50,90.50 189.50,90.50 189.50,119.50%22/%3E%3Cpolygon points=%22176.40,140.00 165.73,150.66 165.74,165.74 150.66,165.73 140.00,176.40 129.34,165.73 114.26,165.74 114.27,150.66 103.60,140.00 114.27,129.34 114.26,114.26 129.34,114.27 140.00,103.60 150.66,114.27 165.74,114.26 165.73,129.34%22/%3E%3Ccircle cx=%22140%22 cy=%22140%22 r=%2212.60%22/%3E%3Cpolygon points=%2289.40,78.04 78.04,89.40 61.96,89.40 50.60,78.04 50.60,61.96 61.96,50.60 78.04,50.60 89.40,61.96%22/%3E%3Ccircle cx=%2270.0%22 cy=%2270.0%22 r=%225.60%22/%3E%3C/g%3E%3C/svg%3E");--bs3:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0,0 L64,64 M64,0 L0,64'/%3E%3Cpath d='M-32.0,32.0 L32.0,96.0 M32.0,-32.0 L96.0,32.0 M32.0,96.0 L96.0,32.0 M-32.0,32.0 L32.0,-32.0'/%3E%3Ccircle cx='0' cy='0' r='6.4'/%3E%3Ccircle cx='64' cy='0' r='6.4'/%3E%3Ccircle cx='0' cy='64' r='6.4'/%3E%3Ccircle cx='64' cy='64' r='6.4'/%3E%3Ccircle cx='32.0' cy='32.0' r='6.4'/%3E%3Ccircle cx='32.0' cy='0' r='2.9'/%3E%3Ccircle cx='0' cy='32.0' r='2.9'/%3E%3Ccircle cx='64' cy='32.0' r='2.9'/%3E%3Ccircle cx='32.0' cy='64' r='2.9'/%3E%3C/g%3E%3C/svg%3E");--bs4:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='0' cy='0' r='45.0'/%3E%3Ccircle cx='0' cy='45.0' r='45.0'/%3E%3Ccircle cx='0' cy='90' r='45.0'/%3E%3Ccircle cx='45.0' cy='0' r='45.0'/%3E%3Ccircle cx='45.0' cy='45.0' r='45.0'/%3E%3Ccircle cx='45.0' cy='90' r='45.0'/%3E%3Ccircle cx='90' cy='0' r='45.0'/%3E%3Ccircle cx='90' cy='45.0' r='45.0'/%3E%3Ccircle cx='90' cy='90' r='45.0'/%3E%3Ccircle cx='22.5' cy='22.5' r='3.2'/%3E%3Ccircle cx='67.5' cy='22.5' r='3.2'/%3E%3Ccircle cx='22.5' cy='67.5' r='3.2'/%3E%3Ccircle cx='67.5' cy='67.5' r='3.2'/%3E%3C/g%3E%3C/svg%3E");--bs5:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0,0 C0.0,45.0 90.0,45.0 90.0,90.0 C90.0,135.0 0,135.0 0,180'/%3E%3Cpath d='M0,0 C0,45.0 -90.0,45.0 -90.0,90.0 C-90.0,135.0 0,135.0 0,180'/%3E%3Cpath d='M180,0 C180.0,45.0 270.0,45.0 270.0,90.0 C270.0,135.0 180,135.0 180,180'/%3E%3Cpath d='M180,0 C180,45.0 90.0,45.0 90.0,90.0 C90.0,135.0 180,135.0 180,180'/%3E%3Cpath d='M90.0,19.8 Q83.7,28.8 90.0,37.8 Q96.3,28.8 90.0,19.8Z'/%3E%3Cpath d='M90.0,160.2 Q96.3,151.2 90.0,142.2 Q83.7,151.2 90.0,160.2Z'/%3E%3Cpath d='M90.0,104.4 Q99.0,89.1 90.0,73.8 Q81.0,89.1 90.0,104.4Z'/%3E%3Cpath d='M90.0,100.8 Q88.0,87.2 75.0,82.9 Q77.0,96.5 90.0,100.8Z'/%3E%3Cpath d='M90.0,100.8 Q103.0,96.5 105.0,82.9 Q92.0,87.2 90.0,100.8Z'/%3E%3Ccircle cx='90.0' cy='108.0' r='3.2'/%3E%3Cpath d='M0.0,14.4 Q-7.2,25.2 0.0,36.0 Q7.2,25.2 0.0,14.4Z'/%3E%3Cpath d='M180.0,14.4 Q172.8,25.2 180.0,36.0 Q187.2,25.2 180.0,14.4Z'/%3E%3Cpath d='M0.0,165.6 Q7.2,154.8 0.0,144.0 Q-7.2,154.8 0.0,165.6Z'/%3E%3Cpath d='M180.0,165.6 Q187.2,154.8 180.0,144.0 Q172.8,154.8 180.0,165.6Z'/%3E%3C/g%3E%3C/svg%3E");--bs6:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='145.5'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.3'%3E%3Cpolygon points='0.0,-30.2 26.2,15.1 -26.2,15.1'/%3E%3Cpolygon points='26.2,-15.1 0.0,30.2 -26.2,-15.1'/%3E%3Ccircle cx='0' cy='0' r='6.7'/%3E%3Cpolygon points='84.0,-30.2 110.2,15.1 57.8,15.1'/%3E%3Cpolygon points='110.2,-15.1 84.0,30.2 57.8,-15.1'/%3E%3Ccircle cx='84' cy='0' r='6.7'/%3E%3Cpolygon points='42.0,42.5 68.2,87.9 15.8,87.9'/%3E%3Cpolygon points='68.2,57.6 42.0,103.0 15.8,57.6'/%3E%3Ccircle cx='42.0' cy='72.74613391789285' r='6.7'/%3E%3Cpolygon points='0.0,115.3 26.2,160.6 -26.2,160.6'/%3E%3Cpolygon points='26.2,130.4 0.0,175.7 -26.2,130.4'/%3E%3Ccircle cx='0' cy='145.4922678357857' r='6.7'/%3E%3Cpolygon points='84.0,115.3 110.2,160.6 57.8,160.6'/%3E%3Cpolygon points='110.2,130.4 84.0,175.7 57.8,130.4'/%3E%3Ccircle cx='84' cy='145.4922678357857' r='6.7'/%3E%3C/g%3E%3C/svg%3E");--bs7:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23B8892B' stroke-opacity='0.45' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='73.9,40.0 40.0,73.9 6.1,40.0 40.0,6.1'/%3E%3Cpolygon points='64.0,64.0 16.0,64.0 16.0,16.0 64.0,16.0'/%3E%3Ccircle cx='40.0' cy='40.0' r='9.6'/%3E%3Cpath d='M0 0L9.6 9.6M80 0L70.4 9.6M0 80L9.6 70.4M80 80L70.4 70.4'/%3E%3C/g%3E%3C/svg%3E");}

/* ---------- v17 (Syed: "animations too dumb"): smarter, calmer interactions ---------- */
/* one refined entrance for everything */
.reveal.a1,.reveal.a2,.reveal.a3,.reveal.a4,.reveal.a5,.reveal.a6{opacity:0;transform:translateY(28px);filter:none;clip-path:none;transition:opacity .9s cubic-bezier(.2,.8,.2,1),transform .9s cubic-bezier(.2,.8,.2,1)}
.reveal.a2:nth-child(even){transform:translateY(28px)}
.reveal.in.a1,.reveal.in.a2,.reveal.in.a3,.reveal.in.a4,.reveal.in.a5,.reveal.in.a6{opacity:1;transform:none}
/* switch off the six hover gimmicks */
.h2:after,.h4:before,.h6:before{display:none!important}
.h1:hover,.h3:hover,.h4:hover,.h5:hover,.h6:hover{transform:none!important;box-shadow:none;background-size:auto}
h2.wr.go{animation:none;background:none}
/* spotlight: light follows finger/mouse, the hidden pattern shows only there */
.spot{position:relative;isolation:isolate}
.spot:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;
  background-image:var(--bs, var(--bs1));background-size:inherit;opacity:0;transition:opacity .4s ease;
  -webkit-mask:radial-gradient(180px circle at var(--mx,50%) var(--my,50%),#000 0%,rgba(0,0,0,.35) 45%,transparent 75%);
          mask:radial-gradient(180px circle at var(--mx,50%) var(--my,50%),#000 0%,rgba(0,0,0,.35) 45%,transparent 75%)}
.spot:before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:0;transition:opacity .4s ease;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(184,137,43,.10),transparent 70%)}
.spot.lit:after,.spot.lit:before{opacity:1}
.spot.lit{border-color:rgba(184,137,43,.55)!important;transition:border-color .4s ease}
.bx-dark.spot:before{background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.08),transparent 70%)}
/* reading: words light up as you scroll */
.rd .rw{color:rgba(91,85,87,.28);transition:color .25s linear}
.rd .rw.on{color:inherit}
/* steps focus */
.steps.focus li,.how.focus li{transition:opacity .45s ease,transform .45s ease,box-shadow .45s ease,border-color .45s ease}
.steps.focus li:not(.cur),.how.focus li:not(.cur){opacity:.45}
.steps.focus li.cur,.how.focus li.cur{opacity:1;transform:scale(1.02);border-color:rgba(200,34,42,.45);box-shadow:0 18px 40px rgba(32,29,30,.10)}
.how.focus li.cur:before{background:var(--red-deep);transition:background .45s}
/* magnetic buttons */
.btn{transition:transform .25s cubic-bezier(.2,.8,.2,1),background .15s ease}
@media (prefers-reduced-motion:reduce){ .rd .rw{color:inherit} .steps.focus li,.how.focus li{opacity:1!important;transform:none!important} }

/* ---------- v18: Home page "wow": cinematic scroll scene ---------- */
.hero-art .wrap > div:first-child{will-change:transform,opacity}
.hero-art .draw-mark{transform-origin:50% 50%}
/* light passing over the Qur'an verse */
.hero .ayah .ar{background:linear-gradient(100deg,#fff 0%,#fff 42%,#F3D58A 50%,#fff 58%,#fff 100%);background-size:260% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:shimmer 7s 2s ease-in-out infinite}
@keyframes shimmer{0%{background-position:100% 0}60%,100%{background-position:0 0}}
/* gold line draws under "rooted in Tawheed." */
.hero h1 em{position:relative;display:inline-block}
.hero h1 em:after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:3px;border-radius:3px;background:linear-gradient(90deg,#B8892B,#F3D58A,#B8892B);transform:scaleX(0);transform-origin:left;animation:lineGrow 1.1s 1.5s cubic-bezier(.7,0,.2,1) forwards}
/* logo band: logo comes out of a blur as you scroll (script sets the values) */
.brandband .bb-logo{transition:none;opacity:var(--bbo,0);transform:scale(var(--bbs,1.3));filter:blur(var(--bbb,10px))}
/* Our method numbers fill one by one */
.principles .p .ic{transition:background .5s ease,color .5s ease,transform .5s cubic-bezier(.2,.8,.2,1),border-color .5s}
.principles .p .ic.fill{background:var(--red-deep);color:#fff;border-color:var(--red-deep);transform:scale(1.12)}
/* seal ring follows scroll on Home */
.raqi .hv-ring{animation:none}
/* phone: path cards stack like a deck */
@media (max-width:900px){
  #paths .paths{display:block}
  #paths .path{position:sticky;margin-bottom:22px;box-shadow:0 -10px 30px rgba(32,29,30,.10)}
  #paths .path:nth-child(1){top:100px}
  #paths .path:nth-child(2){top:122px}
  #paths .path:nth-child(3){top:144px}
}
@media (prefers-reduced-motion:reduce){ .brandband .bb-logo{opacity:1;transform:none;filter:none} .hero .ayah .ar{animation:none;color:#fff;background:none} }
@media (max-width:900px){
  #paths .path{background-color:#fff}
  #paths .path.feature{background-color:var(--ink)}
  #paths .path:nth-child(1){z-index:1} #paths .path:nth-child(2){z-index:2} #paths .path:nth-child(3){z-index:3}
}

/* v19: smooth finish of the self-drawing calligraphy */
.draw-mark path{transition:fill-opacity 2.8s cubic-bezier(.4,0,.2,1), stroke 2.8s cubic-bezier(.4,0,.2,1)!important}

/* ---------- v20: "What brings you here today?" comes alive ---------- */
.ch-btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px;isolation:isolate;
  transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .45s ease,border-color .3s ease,color .35s ease .1s,box-shadow .45s ease}
.ch-btn:before{content:""!important;position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,var(--red-deep),#E0353C);transform:scaleX(0);transform-origin:left;transition:transform .6s cubic-bezier(.7,0,.2,1);opacity:1!important;border-radius:0!important;-webkit-mask:none!important;mask:none!important}
.ch-btn:after{content:""!important;display:none!important}
.ch-btn .ch-arrow{flex:none;font-size:20px;line-height:1;transform:translateX(-8px);opacity:0;transition:transform .35s ease,opacity .35s ease}
.ch-btn:hover .ch-arrow{transform:none;opacity:1}
.ch-btn .ck{flex:none;width:26px;height:26px;display:none}
.ch-btn .ck circle{fill:rgba(255,255,255,.18)}
.ch-btn .ck path{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24}
.ch-btn.on{background:transparent;color:#fff;border-color:transparent;transform:translateY(-4px);box-shadow:0 18px 36px rgba(200,34,42,.25)}
.ch-btn.on:before{transform:scaleX(1)}
.ch-btn.on .ch-arrow{display:none}
.ch-btn.on .ck{display:block}
.ch-btn.on .ck path{animation:ckDraw .5s .45s ease forwards}
@keyframes ckDraw{to{stroke-dashoffset:0}}
.ch-options.picked .ch-btn:not(.on){opacity:.5;transform:scale(.96)}
.ch-options.picked .ch-btn:not(.on):hover{opacity:.85}
/* invitation: buttons lift one after another until something is chosen */
.ch-options.invite .ch-btn{animation:invite 4.8s ease-in-out infinite}
.ch-options.invite .ch-btn:nth-child(2){animation-delay:.35s}
.ch-options.invite .ch-btn:nth-child(3){animation-delay:.7s}
@keyframes invite{0%,12%,100%{transform:none;border-color:var(--line)}6%{transform:translateY(-7px);border-color:rgba(200,34,42,.55)}}
/* result card unfolds, then its parts rise in */
.ch-result.show{animation:unfold .7s cubic-bezier(.2,.8,.2,1) both}
@keyframes unfold{from{opacity:0;clip-path:inset(0 0 100% 0 round 20px);transform:translateY(-10px)}to{opacity:1;clip-path:inset(0 0 0 0 round 20px);transform:none}}
.ch-result.show [data-for]:not([hidden]) > *{animation:riseIn .6s cubic-bezier(.2,.8,.2,1) both}
.ch-result.show [data-for]:not([hidden]) > *:nth-child(1){animation-delay:.25s}
.ch-result.show [data-for]:not([hidden]) > *:nth-child(2){animation-delay:.38s}
.ch-result.show [data-for]:not([hidden]) > *:nth-child(3){animation-delay:.5s}
.ch-result.show [data-for]:not([hidden]) > *:nth-child(4){animation-delay:.6s}
.ch-result{border-left:4px solid var(--red-deep)}
@media (prefers-reduced-motion:reduce){ .ch-options.invite .ch-btn{animation:none} .ch-btn .ck path{stroke-dashoffset:0} }
.ch-btn{transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .45s ease,border-color .3s ease,color .3s ease .32s,box-shadow .45s ease}

/* ---------- v21: loading screen, page transitions, page-by-page animations ---------- */
.loader{position:fixed;inset:0;z-index:200;background:#201D1E;display:grid;place-items:center;transition:opacity .7s ease .1s,visibility 0s linear .8s;animation:ldAuto 0s 5s forwards}
.loader:before{content:"";position:absolute;width:70vmax;height:70vmax;border-radius:50%;background:radial-gradient(closest-side,rgba(238,50,57,.25),rgba(238,50,57,0));animation:breathe 3s ease-in-out infinite}
.ld-in{position:relative;display:flex;flex-direction:column;align-items:center;gap:18px}
.ld-mark{width:120px;height:auto;animation:ldMark 1.6s cubic-bezier(.2,.8,.2,1) both}
.ld-name{font-family:var(--caps);letter-spacing:.42em;color:#fff;font-size:15px;animation:riseIn .9s .35s both}
.ld-name span{color:var(--red)}
.ld-bar{width:180px;height:2px;background:rgba(255,255,255,.12);overflow:hidden;border-radius:2px}
.ld-bar span{display:block;height:100%;width:100%;background:linear-gradient(90deg,#C8222A,#EE3239,#B8892B);transform:scaleX(0);transform-origin:left;animation:ldFill 1.2s .2s cubic-bezier(.6,0,.2,1) forwards}
@keyframes ldMark{from{opacity:0;transform:scale(.7) rotate(-8deg);filter:blur(6px)}to{opacity:1;transform:none;filter:none}}
@keyframes ldFill{to{transform:scaleX(1)}}
@keyframes ldAuto{to{opacity:0;visibility:hidden}}
body.loaded .loader{opacity:0;visibility:hidden}
body.quick .ld-mark{animation-duration:.6s}
body.quick .ld-bar span{animation-duration:.45s}
/* page change curtain */
.curtain{position:fixed;inset:0;z-index:190;background:#201D1E;transform:translateY(100%);pointer-events:none;transition:transform .45s cubic-bezier(.7,0,.2,1)}
.curtain:after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#C8222A,#EE3239,#B8892B)}
body.leaving .curtain{transform:none}
/* scrollspy: current topic highlighted (Learn jump menu, FAQ topics) */
.jump a,.faqpage aside a{transition:background .3s ease,color .3s ease,transform .3s ease}
.jump a.cur,.faqpage aside a.cur{background:var(--ink);color:#fff;transform:translateY(-1px)}
/* myths: the truth reveals with a wipe */
.myth .yes{clip-path:inset(0 100% 0 0);transition:clip-path .9s cubic-bezier(.7,0,.2,1) .25s}
.myth.in .yes,.myth .yes.show{clip-path:inset(0 0 0 0)}
@media (max-width:760px){ .myth .yes{clip-path:inset(0 0 100% 0)} .myth.in .yes{clip-path:inset(0)} }
/* booking form: fields light up */
.bk-form label{transition:transform .3s ease}
.bk-form label:focus-within{transform:translateY(-2px)}
.bk-form input,.bk-form select,.bk-form textarea{transition:box-shadow .3s ease,border-color .3s ease}
.bk-form input:focus,.bk-form select:focus,.bk-form textarea:focus{box-shadow:0 0 0 4px rgba(255,255,255,.35);outline:none}
.bk-form .filled{border-color:#fff}
.bk-go{animation:riseIn .5s both}
/* report: crosses draw / list items slide */
.x li{transition:transform .3s ease}
.x li:hover{transform:translateX(6px)}
/* courses modules arrive in sequence */
.mods li,.reqs li{opacity:0;transform:translateX(-14px);transition:opacity .5s ease,transform .5s ease}
.course.in-view .mods li,.course.in-view .reqs li{opacity:1;transform:none}
/* contact + helplines numbers pop */
.helplines b,.cbox .big{display:inline-block;transition:transform .3s ease}
.helplines div:hover b,.cbox:hover .big{transform:scale(1.06)}
/* footer links slide */
footer a{display:inline-block;transition:transform .25s ease,color .25s ease}
footer li a:hover{transform:translateX(5px);color:var(--red-deep)}
/* legal pages: headings get a red marker as you reach them */
.legal-doc h2{position:relative;transition:padding-left .4s ease}
.legal-doc h2:before{content:"";position:absolute;left:0;top:.35em;width:4px;height:.8em;border-radius:2px;background:var(--red);transform:scaleY(0);transition:transform .45s ease}
.legal-doc h2.seen{padding-left:14px}
.legal-doc h2.seen:before{transform:scaleY(1)}
/* buttons: press feedback */
.btn:active{transform:scale(.96)!important}
@media (prefers-reduced-motion:reduce){ .loader,.curtain{display:none} .myth .yes{clip-path:none} .mods li,.reqs li{opacity:1;transform:none} }
.ld-name span{color:#F5646A}
.rd .rw{color:rgba(91,85,87,.55)}

/* ---------- v22: bigger header logo; header compacts on scroll ---------- */
:root{--hh:128px}
.top .wrap{height:var(--hh);transition:height .4s cubic-bezier(.2,.8,.2,1)}
.brand img{height:calc(var(--hh) - 16px);width:auto;transition:height .4s cubic-bezier(.2,.8,.2,1)}
.top.compact{--hh:84px;box-shadow:0 6px 24px rgba(32,29,30,.08)}
.jump{top:84px;transition:top .4s}
@media (max-width:980px){ :root{--hh:112px} .top.compact{--hh:72px} .jump{top:72px} }

/* ---------- v23: tagline beside the header logo (readable) ---------- */
.top .wrap{gap:22px}
.brand-tag{display:flex;flex-direction:column;justify-content:center;padding-left:18px;border-left:2px solid var(--red);font-family:var(--serif);font-style:italic;line-height:1.15;color:var(--ink);white-space:nowrap;transition:opacity .35s ease,transform .35s ease}
.brand-tag span:first-child{font-size:21px;font-weight:600;color:var(--red-deep)}
.brand-tag span:last-child{font-size:17px;color:#3d3839}
.top.compact .brand-tag span:first-child{font-size:18px}
.top.compact .brand-tag span:last-child{font-size:15px}
.brand-tag{animation:riseIn .9s .3s both}
@media (max-width:1180px){ .nav{gap:18px} }
@media (max-width:980px){
  .top .wrap{gap:12px}
  .brand-tag{padding-left:12px}
  .brand-tag span:first-child{font-size:16px}
  .brand-tag span:last-child{font-size:13.5px}
  .top.compact .brand-tag span:first-child{font-size:14.5px}
  .top.compact .brand-tag span:last-child{font-size:12.5px}
}
@media (max-width:360px){ .brand-tag span:last-child{display:none} }

/* ---------- v24: "What Al-Isti'saal means" ---------- */
.istisaal{background:var(--ink);color:#fff;position:relative;overflow:hidden;background-image:var(--first-dark);background-size:64px 64px}
.istisaal h2{color:#fff}
.istisaal h2 em{font-style:italic;color:#F5646A}
.ist-head{display:grid;grid-template-columns:auto 1fr;gap:56px;align-items:center}
.ist-ar{font-family:Amiri,serif;font-size:clamp(64px,9vw,128px);line-height:1;color:transparent;-webkit-text-stroke:1.5px rgba(243,213,138,.85);direction:rtl;position:relative}
.ist-ar:after{content:"الاستئصال";position:absolute;inset:0;color:#F3D58A;-webkit-text-stroke:0;clip-path:inset(0 0 0 100%);transition:clip-path 1.8s cubic-bezier(.7,0,.2,1) .3s}
.istisaal.go .ist-ar:after{clip-path:inset(0 0 0 0)}
.ist-lead{color:rgba(255,255,255,.88);font-size:18px;max-width:680px}
.ist-lead b{color:#fff}
.ist-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:28px;margin-top:56px;align-items:stretch}
.ist-col{border-radius:22px;padding:30px 30px 18px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.03)}
.ist-col h3{font-family:var(--caps);font-size:13px;letter-spacing:.24em;text-transform:uppercase;margin-bottom:16px}
.uproot h3{color:#F5646A}
.plant h3{color:#F3D58A}
.ist-col ul{list-style:none;display:grid;gap:16px}
.ist-col li{position:relative;padding-left:30px}
.ist-col li b{display:block;font-family:var(--serif);font-size:24px;font-weight:600;line-height:1.15;position:relative;display:inline-block}
.ist-col li span{display:block;font-size:14.5px;color:rgba(255,255,255,.75);margin-top:3px}
.uproot li:before{content:"✕";position:absolute;left:0;top:4px;color:#F5646A;font-weight:700}
.plant li:before{content:"";position:absolute;left:2px;top:9px;width:10px;height:10px;background:#F3D58A;transform:rotate(45deg) scale(0);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
/* uproot: a red line strikes through each word, in turn */
.uproot li b:after{content:"";position:absolute;left:-4px;right:-4px;top:55%;height:3px;border-radius:3px;background:#EE3239;transform:scaleX(0);transform-origin:left;transition:transform .7s cubic-bezier(.7,0,.2,1)}
.istisaal.go .uproot li b:after{transform:scaleX(1)}
.istisaal.go .uproot li b{opacity:.75;transition:opacity .8s ease .5s}
/* plant: items grow in after the strikes */
.plant li{opacity:0;transform:translateY(16px) scale(.97);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.istisaal.go .plant li{opacity:1;transform:none}
.istisaal.go .plant li:before{transform:rotate(45deg) scale(1)}
.ist-arrow{align-self:center;font-size:40px;color:#F3D58A;opacity:0;transform:translateX(-20px);transition:opacity .8s ease 1.4s,transform .8s ease 1.4s}
.istisaal.go .ist-arrow{opacity:1;transform:none}
.ist-ayah{margin-top:52px;text-align:center;border-top:1px solid rgba(255,255,255,.14);padding-top:34px}
.ist-ayah .ar{font-family:Amiri,serif;font-size:clamp(26px,3.4vw,40px);direction:rtl;color:#fff;line-height:1.8}
.ist-ayah figcaption{font-family:var(--serif);font-style:italic;font-size:19px;color:rgba(255,255,255,.85);margin-top:8px}
.ist-ayah figcaption span{display:block;font-style:normal;font-family:var(--sans);font-size:13px;color:rgba(255,255,255,.7);margin-top:6px;letter-spacing:.04em}
@media (max-width:880px){ .ist-head{grid-template-columns:1fr;gap:18px} .ist-grid{grid-template-columns:1fr} .ist-arrow{transform:rotate(90deg);justify-self:center} .istisaal.go .ist-arrow{transform:rotate(90deg)} }
@media (prefers-reduced-motion:reduce){ .plant li{opacity:1;transform:none} .ist-ar:after{clip-path:none} .ist-arrow{opacity:1} }
/* Home link */
.bb-link{margin-top:16px;font-family:var(--serif);font-size:18px;color:var(--red-deep);border-bottom:1px solid rgba(200,34,42,.35);padding-bottom:2px;transition:border-color .3s ease}
.bb-link span{display:inline-block;transition:transform .3s ease}
.bb-link:hover{border-color:var(--red-deep)}
.bb-link:hover span{transform:translateX(5px)}
.prose .byline{font-family:var(--serif);font-style:italic;font-size:17px;color:var(--muted);margin-top:4px;padding-left:16px;border-left:2px solid var(--red)}

/* ---------- v25: sayings + a word from the Sheikh ---------- */
.sayings{margin:30px 0 18px}
.sayings .kicker{margin-bottom:14px}
.sayings blockquote{position:relative;font-family:var(--serif);font-size:24px;line-height:1.35;color:var(--ink);padding:16px 0 16px 46px;border-top:1px solid var(--line)}
.sayings blockquote:last-child{border-bottom:1px solid var(--line)}
.sayings blockquote:before{content:"“";position:absolute;left:0;top:2px;font-size:64px;line-height:1;color:var(--red);font-family:var(--serif);opacity:.85}
.aword{margin-top:44px;background:var(--ink);color:#fff;border-radius:22px;padding:34px 36px;position:relative;overflow:hidden;background-image:var(--first-dark);background-size:64px 64px}
.aword .kicker{color:#F4B6B8;margin-bottom:12px}
.aword p{font-family:var(--serif);font-style:italic;font-size:23px;line-height:1.45;color:#fff!important}
.aword figcaption{margin-top:18px;font-family:var(--caps);letter-spacing:.14em;font-size:15px;color:#F3D58A}
.aword figcaption span{display:block;font-family:var(--sans);letter-spacing:0;font-size:13.5px;color:rgba(255,255,255,.72);margin-top:4px}
.aword:after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;border:1px dashed rgba(243,213,138,.35);animation:spin 50s linear infinite}
@media (max-width:640px){ .sayings blockquote{font-size:20px;padding-left:38px} .aword{padding:26px 22px} .aword p{font-size:20px} }

/* ---------- v26: "The one advice" on Home ---------- */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.advice{background:var(--ink);color:#fff;text-align:center;position:relative;overflow:hidden;padding:120px 0;background-image:var(--first-dark);background-size:64px 64px}
.advice:before{content:"";position:absolute;left:50%;top:50%;width:900px;height:900px;margin:-450px 0 0 -450px;border-radius:50%;background:radial-gradient(closest-side,rgba(243,213,138,.14),rgba(243,213,138,0));animation:breathe 8s ease-in-out infinite;pointer-events:none}
.advice .wrap{position:relative;max-width:1000px}
.adv-k{color:#F3D58A!important}
.adv-q{position:relative;margin:26px auto 0}
.adv-mark{display:block;font-family:var(--serif);font-size:140px;line-height:.6;color:#F3D58A;opacity:.9;height:60px}
.adv-text{font-family:var(--serif);font-weight:600;font-size:clamp(30px,4.4vw,56px);line-height:1.18;letter-spacing:-.3px}
.adv-text .aw{color:rgba(255,255,255,.18);transition:color .5s ease,text-shadow .5s ease}
.adv-text .aw.on{color:#fff}
.adv-allah,.adv-text .aw.allah{color:rgba(243,213,138,.25)}
.adv-text .aw.allah.on{color:#F3D58A;text-shadow:0 0 28px rgba(243,213,138,.45)}
.adv-by{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:40px;font-family:var(--caps);letter-spacing:.12em;font-size:16px;color:#F3D58A}
.adv-by small{display:block;font-family:var(--sans);letter-spacing:0;font-size:13.5px;color:rgba(255,255,255,.7);margin-top:6px}
.adv-line{height:1px;width:80px;background:linear-gradient(90deg,rgba(243,213,138,0),#F3D58A)}
.adv-line:last-child{background:linear-gradient(90deg,#F3D58A,rgba(243,213,138,0))}
@media (max-width:640px){ .advice{padding:84px 0} .adv-line{width:36px} .adv-mark{font-size:100px;height:44px} }
@media (prefers-reduced-motion:reduce){ .adv-text .aw{color:#fff} .adv-text .aw.allah{color:#F3D58A} }
/* v27: checker fixes on "The one advice" */
.adv-text{line-height:1.3}
.adv-by{letter-spacing:.05em}
.adv-text .aw{color:rgba(255,255,255,.34)}
/* v28: a section opened from a link lands fully visible below the header */
[id]{scroll-margin-top:110px}
@media (max-width:980px){ [id]{scroll-margin-top:96px} }
article[id],li[id],div[id]{scroll-margin-top:150px}
@media (max-width:980px){ article[id],li[id],div[id]{scroll-margin-top:130px} }
