@font-face{font-family:'DM Sans';src:url('/assets/dm-sans.woff2') format('woff2');font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:Amiri;src:url('/assets/amiri.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
:root{color-scheme:light dark;--link:#80500c;--focus:#a5630f;--selected:#ede0ca;--button-bg:#171813;--button-ink:#fff9ec;--footer:#eee5d5;--paper:#f6f1e7;--paper-light:#fdf9f0;--ink:#171813;--muted:#5f5b4d;--gold:#94600f;--line:#d9cbb5;--light-gold:#edc780;--display:'DM Sans',system-ui,sans-serif;--ui:'DM Sans',system-ui,sans-serif;--gutter:clamp(18px,4vw,70px);--radius-pill:999px;--radius-card:18px;--radius-panel:24px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--paper);font:400 1rem/1.55 var(--ui)}
img{display:block;max-width:100%;object-fit:contain}
a{color:inherit;text-underline-offset:.28em}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
[hidden]{display:none!important}
.shell{width:min(100%,1536px);padding-inline:var(--gutter);margin-inline:auto}
.skip{position:fixed;z-index:4;top:12px;left:12px;padding:10px;background:var(--paper-light);transform:translateY(-180%)}
.skip:focus{transform:none}
.masthead{min-height:72px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.5rem}
.masthead nav{display:flex;flex-wrap:wrap;gap:clamp(14px,3vw,38px);align-items:center}
.masthead nav a{text-decoration:none;font-weight:650;font-size:.9rem}
.masthead nav a:hover{text-decoration:underline}
.home{justify-self:start}.home{display:flex;align-items:center;min-height:44px}.home img{width:82px;height:auto}
.donate{justify-self:end}
.button{min-height:46px;border-radius:var(--radius-pill);display:inline-flex;align-items:center;justify-content:center;gap:.65rem;padding:.7rem 1.3rem;text-decoration:none;font-weight:700;font-size:.92rem;line-height:1.2;transition:background .18s,color .18s,border-color .18s}
.button-outline{border:1px solid #ac8e5e;background:transparent}
.button-outline:hover:not(.gold-press){border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}
.button-gold{background:#ecc479;color:#211710;border:1px solid #ecc479;transition:none}
.text-link{font-weight:700;color:var(--link)}
.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:stretch;padding-top:4px;padding-bottom:clamp(36px,4.1vw,56px)}
.hero-identity{align-content:center;padding:clamp(24px,3vw,46px) clamp(22px,4vw,64px) clamp(24px,3vw,46px) 0}
.hero h1{margin:0 0 .7rem}
.wordmark{width:100%;height:auto;max-width:570px}
.gold-rule{display:block;background:#a97420;width:2.6rem;height:2px;margin:0 0 1.2rem}
.mission{margin:0 0 1.65rem;max-width:470px;font:500 clamp(1.28rem,2.1vw,1.9rem)/1.28 var(--display)}
.actions{display:flex;align-items:center;gap:1.45rem;flex-wrap:wrap}
.hero-quote{position:relative;isolation:isolate;display:grid;place-items:center;min-height:405px;overflow:hidden;background:#1d211a;color:#fff8e8;text-align:center;border:1px solid #6a5538;border-radius:clamp(16px,2vw,22px)}
.arch-image,.hero-quote::after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero-quote::after{content:"";z-index:-1;background:radial-gradient(ellipse at center,#10120f8a 12%,#12150f55 70%)}
.quote-copy{padding:clamp(25px,3.3vw,48px);width:100%;max-width:640px}
.ornament{display:flex;gap:.7rem;align-items:center;justify-content:center;color:#eccb88;font-size:1.15rem}
.ornament i{width:2.2rem;height:1px;background:#c29a56}
blockquote{margin:1rem 0 .7rem}
.quote-ar{font:400 clamp(1.3rem,2.05vw,2rem)/1.85 Amiri,serif;margin:0 0 .65rem;color:#f0d28d}
.quote-en{font:550 clamp(1.26rem,2.2vw,2.04rem)/1.34 var(--display);margin:0;letter-spacing:-.01em}
cite{font-size:.82rem;font-style:normal;color:#fae7bb;display:block}
@keyframes entrance{from{opacity:0;transform:translateY(17px)}to{opacity:1;transform:translateY(0)}}
h2,h3,p{margin-top:0}
h2{font:720 clamp(2rem,4vw,3.5rem)/1.08 var(--display);letter-spacing:-.042em;margin-bottom:.65rem}
h3{font:720 1.32rem/1.22 var(--display)}
.lessons{padding-top:clamp(34px,3.6vw,53px);padding-bottom:clamp(38px,4.6vw,68px);border-top:1px solid var(--line)}
.section-top p,.about p{color:var(--muted)}
.media-layout{display:grid;grid-template-columns:minmax(155px,215px) minmax(0,1fr);gap:clamp(20px,3.4vw,56px);margin-top:1.3rem}
.channel-list{--channel-gap:.35rem;display:grid;align-content:start;gap:var(--channel-gap);border-right:1px solid var(--line);padding-right:.9rem}
.channel-tabs{display:grid;gap:var(--channel-gap)}.channel-list button,.channel-external{display:flex;border-radius:var(--radius-pill);text-decoration:none;align-items:center;justify-content:start;gap:.75rem;white-space:nowrap;min-height:48px;text-align:left;padding:.55rem .85rem;background:none;border:0;font-size:1rem;font-weight:700}
.channel-list button span{min-width:1.2em;text-align:center;color:var(--link)}
.channel-list button:hover,.channel-external:hover{background:var(--selected)}
.channel-list button[aria-selected=true]{background:var(--selected)}
.feed{min-width:0;padding:clamp(1rem,3.8vw,1.85rem);border:1px solid var(--line);border-radius:var(--radius-panel);overflow:clip;background:var(--paper-light)}.feed-top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.feed-top h3{margin:0}
.feed-content:has(.stories){min-height:0}
.feed-content,.app-slide{touch-action:pan-y pinch-zoom}
.stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.6vw,24px)}
.story{min-width:0;background:#1d1c17;color:#fff8ed;text-decoration:none;display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius-card)}
.story img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-bottom:2px solid #c19348}
.story:hover .story-title{text-decoration:underline}
.story-copy{padding:clamp(.8rem,1.5vw,1.15rem)}
.story-title{font:660 clamp(.94rem,1.26vw,1.16rem)/1.35 var(--display);display:block;overflow-wrap:anywhere}
.story time,.story-meta{display:block;color:#e5c78c;font-size:.76rem;margin-top:.65rem}
.post{display:flex;flex-direction:column;border:1px solid var(--line);background:var(--paper-light);text-decoration:none;min-height:9rem;border-radius:var(--radius-card);overflow:hidden}
.post-copy{padding:clamp(.82rem,2vw,1.2rem)}
.post h4{font-size:1.05rem;line-height:1.25;margin:0 0 .5rem}
.post p{margin:0 0 .75rem;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.post:hover{border-color:#9e712c}.post time{font-size:.8rem;color:var(--muted)}
.carousel-controls{display:flex;gap:.45rem;justify-content:center;margin-top:.9rem}
.carousel-controls button,.preview-switch button{background:transparent;min-height:44px;min-width:44px;padding:.35rem .72rem}
.carousel-controls button{border:0}
.preview-switch button{border:1px solid var(--line)}
.carousel-controls button,.preview-switch button{border-radius:var(--radius-pill)}
.carousel-controls button:hover{background:var(--selected)}
.musalli{background:#191917;color:#fbf3e9;isolation:isolate;position:relative}
.musalli::before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 78% 42%,#68475580,transparent 58%),radial-gradient(ellipse at 96% 100%,#7b572640,transparent 39%)}
.app-layout{display:grid;gap:clamp(26px,4vw,58px);padding-block:clamp(43px,5vw,73px)}
.app-copy h2{color:#f1d398}.app-copy h2 > span{display:inline-block}
.app-copy>p{color:#ded2c7;max-width:56ch}
.features{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem 1.2rem;padding:0;list-style:none;margin:1.6rem 0 1.9rem}
.features li{display:grid;grid-template-columns:1.5rem 1fr;gap:.65rem;padding-top:.75rem;border-top:1px solid #6c5546}.features .glyph{color:#ebc789;margin-top:.2rem}
.features strong,.features span{display:block}.features span{font-size:.88rem;color:#e0d0c2}
.store-links,.preview-switch{display:flex;justify-content:center;flex-wrap:wrap;gap:.65rem}
.store{border:1px solid #b69b71;color:#fff8e9;text-align:left}.store:hover{background:#4f3c30}.store small{display:block;color:#e9c991;font-size:.68rem}.store span:first-child{font-size:1.35rem}
.preview-switch{justify-content:center;margin:0 0 1rem}
.preview-switch button{border-color:#8f7664;color:#fbf3e9;font-size:.875rem}
.preview-switch button[aria-pressed=true],.preview-switch button:hover{background:#e9c991;color:#221a13;border-color:#e9c991}
.app-overview{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1.6rem,5vw,5rem)}
.app-gallery{padding:clamp(.75rem,2.2vw,1.8rem);background:#1c1919c7;border:1px solid #9576565e;border-radius:var(--radius-panel)}
.app-slide{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:center;gap:clamp(.65rem,3vw,3rem);max-width:1080px;margin:auto}
.slide-copy{padding-inline:clamp(0px,3vw,2.5rem)}
.slide-mark{display:grid;place-items:center;width:clamp(43px,8vw,70px);aspect-ratio:1;border:1px solid #9e7d56;border-radius:var(--radius-card);background:#342923;color:#f1d398;margin-bottom:1rem}
.slide-mark .glyph{width:54%;height:54%}
.slide-copy h3{font-size:clamp(1.2rem,3.8vw,3.05rem);margin:0 0 .5rem;letter-spacing:-.02em}
.slide-copy p{color:#ded2c7;margin:0;max-width:33ch;font-size:clamp(.92rem,2.35vw,1.24rem)}
.slide-copy p:has(#device-blessing:not([hidden])){font-weight:700;color:#fbf3e9}
#device-blessing{color:#edc780}
.app-image{margin:0;min-width:0;min-height:clamp(230px,60vw,555px);display:grid;place-items:center;filter:drop-shadow(0 15px 14px #0007)}
/* The crop dimensions keep the device from the original store art and hide its promotional card. */
.device-art{--image-width:506;--crop-width:408;--crop-height:821;--crop-left:49;--crop-top:253;
  --art-height:clamp(226px,59vw,555px);aspect-ratio:var(--crop-width)/var(--crop-height);
  width:min(100%,calc(var(--art-height) * var(--crop-width) / var(--crop-height)));
  position:relative;overflow:hidden;border-radius:7% / 3.5%;
}
#device-image{position:absolute;height:auto;width:calc(100% * var(--image-width) / var(--crop-width));max-width:none;
  inset-inline-start:calc(-100% * var(--crop-left) / var(--crop-width));top:calc(-100% * var(--crop-top) / var(--crop-height))
}
.app-slide[data-image-shape=android] .device-art{--image-width:540;--crop-width:342;--crop-height:716;--crop-left:99;--crop-top:221;border-radius:9% / 4.3%}
.app-slide[data-image-shape=apple-watch] .device-art{--image-width:416;--crop-width:292;--crop-height:348;--crop-left:62;--crop-top:108;--art-height:clamp(200px,53vw,395px);border-radius:12% / 10%}
.app-slide[data-image-shape=wear-os] .device-art{
  --image-width:624;--crop-width:624;--crop-height:744;--crop-left:0;--crop-top:0;--art-height:clamp(230px,57vw,425px);
  border-radius:0;
  mask:radial-gradient(ellipse closest-side,#000 98.7%,transparent) center / 83% 70%,
       linear-gradient(#000 0 0) center / 30.2% 88%,
       linear-gradient(#000 0 0) center / 27% 100%,
       radial-gradient(ellipse closest-side,#000 99%,transparent) top center / 30.2% 12%,
       radial-gradient(ellipse closest-side,#000 99%,transparent) bottom center / 30.2% 12%,
       radial-gradient(ellipse closest-side,#000 96%,transparent) 93% 43.5% / 5.1% 10%;
  mask-repeat:no-repeat;
}
.app-controls{display:flex;justify-content:center;align-items:center;gap:.65rem;margin-top:1rem;color:#e9d6bd}
.app-controls button{background:transparent;color:#faf2e8;border:0;border-radius:50%;min-width:44px;min-height:44px;padding:.25rem .7rem}
.app-controls button:hover{background:#e9c991;color:#221a13}
#app-count{min-width:4ch;font-variant-numeric:tabular-nums;text-align:center;font-size:.86rem}
.about{padding-block:clamp(42px,5.6vw,78px)}
.about-intro{max-width:62ch;color:var(--muted)}
.about-intro p{margin-bottom:.45rem}
.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.75rem,1.8vw,1.45rem);list-style:none;padding:0;margin:clamp(1.2rem,3vw,2.2rem) 0 0}
.principles li{display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:start;gap:.7rem;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--paper-light);padding:clamp(1.05rem,2.4vw,2rem)}
.principles h3{font-size:clamp(1.03rem,2vw,1.25rem);margin:0 0 .5rem}
.principles p{margin:0;color:var(--muted);font-size:.94rem}
.footer{background:var(--footer);border-top:1px solid var(--line)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding-block:1.7rem}
.footer p{font-size:.875rem;margin:.25rem 0 0;color:var(--muted)}
@media(max-width:960px){.hero-quote{min-height:365px}.stories{grid-template-columns:repeat(2,minmax(0,1fr))}.stories > :nth-child(n+3){display:none}.principles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.masthead{min-height:72px;gap:.55rem}.masthead nav{gap:.75rem}.masthead nav a{font-size:.82rem}.home img{width:60px;height:auto}.donate{padding:.65rem .65rem;min-height:40px;font-size:.81rem}.hero,.app-overview,.media-layout{grid-template-columns:minmax(0,1fr)}.hero-identity{padding:17px 0 23px}.wordmark{max-width:485px}.hero-quote{min-height:340px}.media-layout{margin-top:1.5rem;gap:.85rem}.channel-list{grid-template-columns:repeat(3,minmax(0,1fr));border-right:0;padding:0}.channel-tabs{grid-column:span 2}.channel-list button,.channel-external{justify-content:center;font-size:.8rem;padding:.4rem .1rem;gap:.24rem}.channel-list button span{min-width:auto}.channel-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{flex-direction:column;align-items:start}}
@media(max-width:370px){.masthead nav{gap:.5rem}.masthead nav a{font-size:.75rem}.stories{grid-template-columns:1fr}.stories > :nth-child(n+2){display:none}.features{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.icon{width:18px;height:18px;flex:none}
.channel-list .icon{opacity:.78}
.store .icon{width:23px;height:23px;filter:brightness(0) invert(95%) sepia(12%) saturate(670%)}
@media(max-width:480px){.channel-list .icon{width:14px;height:14px}}
@media(max-width:430px){.channel-list button,.channel-external{font-size:.75rem}}

.video-sort{display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 .85rem}
.video-sort button{border-radius:var(--radius-pill);min-height:44px;padding:.4rem .8rem;border:1px solid #a99576;background:transparent;font-size:.9rem;font-weight:680}
.video-sort button[aria-pressed=true]{background:var(--button-bg);border-color:var(--button-bg);color:var(--button-ink)}
.video-sort button:not([aria-pressed=true]):hover{background:var(--selected)}
.app-copy .app-credit{font-size:.94rem;font-weight:680;margin:0 0 1.05rem;color:#e9c991}
.guidance{border-top:1px solid var(--line);padding-block:clamp(32px,3.6vw,51px);text-align:center}
.guidance blockquote{margin:0 auto .6rem;max-width:65ch}
.guidance p{margin:0 0 .55rem;font-size:clamp(1.02rem,1.6vw,1.25rem);color:var(--ink);font-weight:550}
.guidance p[lang=ar]{font:400 clamp(1.3rem,2vw,1.8rem)/1.7 Amiri,serif;color:var(--link)}
.guidance cite{color:var(--link)}
@media(max-width:430px){.hero-quote{min-height:0}.quote-copy{padding-block:1.65rem}.feed-top{align-items:baseline}.feed-top .text-link{white-space:nowrap}.video-sort button{flex:1}}

.hero-identity{text-align:center}
.hero h1{margin:0 0 1.3rem}
.hero .wordmark{width:min(100%,clamp(250px,34vw,485px));margin-inline:auto}
.hero .gold-rule{margin-inline:auto;margin-bottom:.9rem}
.hero .mission{max-width:29ch;margin-inline:auto}
.hero .actions{justify-content:center}
@media(max-width:700px){.hero .wordmark{width:min(100%,385px,78vw)}.hero h1{margin-bottom:1rem}}

.sprite{position:absolute;width:0;height:0;overflow:hidden}
.glyph{display:inline-block;vertical-align:middle;width:1.2rem;height:1.2rem;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.link-arrow{display:inline-flex;align-items:center;gap:.35rem}
.link-arrow .glyph{width:1em;height:1em}
.link-arrow[target="_blank"]:not(.button):is(:hover,:focus-visible){color:var(--inline-hover,var(--ink))}
.join-whatsapp{--inline-hover:var(--whatsapp)}
#feed[aria-labelledby="tab-youtube"] #feed-link{--inline-hover:#b91c1c}
#feed[aria-labelledby="tab-telegram"] #feed-link{--inline-hover:#096487}
.footer .link-arrow:is(:hover,:focus-visible){color:var(--link)}
.footer .link-arrow{--inline-hover:var(--link)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.social-bar{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:start;column-gap:clamp(1.5rem,5vw,4rem);row-gap:1.1rem;margin:1.5rem auto 0;padding-top:1.35rem;border-top:1px solid var(--line);max-width:54rem}
.social-group h2{font-size:.9rem;font-weight:700;letter-spacing:0;margin-bottom:.55rem}
.social-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:.35rem}
.social-action{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:15px;background:var(--paper-light);color:var(--ink);text-decoration:none}
.social-action:hover,.social-action.copied{background:var(--selected);border-color:var(--focus)}
:root{--whatsapp:#128546}
.social-whatsapp,.join-whatsapp .glyph:first-child{color:var(--whatsapp)}.social-youtube{color:#e22729}.social-soundcloud{color:#d74c00}
.social-instagram{color:#bf2568}.social-tiktok{color:var(--ink)}
.social-tiktok .glyph{filter:drop-shadow(-.65px 0 #25f4ee) drop-shadow(.65px 0 #fe2c55)}
.share-fallback{width:min(100%,25rem);text-align:left;font-size:.86rem}
.share-fallback input{display:block;width:100%;padding:.65rem;border:1px solid var(--line);border-radius:12px;font:inherit;background:var(--paper-light);color:var(--ink)}
@media(max-width:700px){
  .app-copy{text-align:center}.app-copy>p{margin-inline:auto}
  .features{margin:0}
}
@media(max-width:510px){.principles{grid-template-columns:minmax(0,1fr)}}
@media(prefers-color-scheme:dark){
  :root{--paper:#181713;--paper-light:#22201b;--ink:#f6efe3;--muted:#c7bcad;--line:#4b4136;--link:#e9bd75;--focus:#e9bd75;--selected:#393025;--button-bg:#edd098;--button-ink:#231a10;--footer:#211d17}
  .link-arrow[target="_blank"]:not(.button):is(:hover,:focus-visible){color:var(--inline-hover,#fff)}
  #feed[aria-labelledby="tab-youtube"] #feed-link{--inline-hover:#ff6969}
  #feed[aria-labelledby="tab-telegram"] #feed-link{--inline-hover:#53c4f4}
  .icon-x{filter:invert(1)}
  .post:hover{border-color:var(--focus)}
  :root{--whatsapp:#41d781}
  .social-instagram{color:#ff85b1}
}

.section-top{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem 1.3rem;flex-wrap:wrap}
.section-top p{margin-bottom:0}
.join-whatsapp{max-width:100%;min-height:44px}


.site-toast{
  position:fixed;z-index:8;top:calc(env(safe-area-inset-top) + .85rem);left:50%;
  display:flex;align-items:center;gap:.55rem;width:max-content;max-width:calc(100% - 2rem);
  padding:.78rem 1.25rem;border-radius:999px;border:1px solid var(--line);
  background:var(--ink);color:var(--paper);font-size:.92rem;font-weight:700;
  box-shadow:0 10px 34px #0004;opacity:0;pointer-events:none;
  transform:translate(-50%,calc(-100% - 1rem));
  transition:transform .35s cubic-bezier(.22,.8,.25,1),opacity .25s ease;
}
.site-toast[data-open]{opacity:1;transform:translate(-50%,0)}
.site-toast .glyph{width:1rem;height:1rem}
@keyframes hero-logo-in{
  from{opacity:0;transform:translateY(clamp(16px,4vw,54px)) scale(.78)}
  46%{opacity:1}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(prefers-reduced-motion:no-preference){
  .hero-intro .wordmark{animation:hero-logo-in .86s cubic-bezier(.2,.77,.28,1) both}
  .hero-intro .hero-identity .gold-rule,.hero-intro .mission{animation:entrance .48s .48s ease-out both}
  .hero-intro .actions>a{animation:entrance .43s .7s ease-out both}
  .hero-intro .actions>a:nth-child(2){animation-delay:.81s}
  .hero-intro .actions>a:focus-visible{animation:none}
}


.principle-number{
  display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;
  background:var(--selected);color:var(--link);font-size:.83rem;font-weight:750;
}
.preview-switch button,.app-controls button,.carousel-controls button{
  display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
}
.preview-switch button{min-height:44px}
.preview-switch .platform-apple{filter:brightness(0) invert(97%)}
.preview-switch button[aria-pressed=true] .platform-apple,.preview-switch button:hover .platform-apple{
  filter:brightness(0);
}
@media(min-width:960px){
  .app-image{justify-items:end;padding-inline-end:clamp(16px,2vw,32px)}
}
@media(width > 960px){
  .principles > :last-child:nth-child(3n+1){grid-column:2}
}
@media(max-width:480px){
  .store-links{display:grid;grid-template-columns:minmax(0,1fr)}
  .preview-switch button{width:48px;padding:.45rem}
  .platform-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .app-slide{grid-template-columns:minmax(0,1fr);row-gap:1rem}
  .app-image{grid-row:1;min-height:0}
  .device-art{--art-height:clamp(262px,86vw,385px)}
  .slide-copy{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem .7rem;padding-inline:.25rem}
  .slide-mark{width:38px;border-radius:10px;margin:0}
  .slide-copy h3{margin:0}
  .slide-copy p{grid-column:1/-1;max-width:100%}
}
@media(max-width:380px){
  .masthead{grid-template-columns:1fr 1fr}
  .masthead nav{display:none}
  #musalli-heading > span{display:block}
  .app-title-dash{display:none}
  .social-group[aria-label="Follow Leeds Dawah"] .social-actions{display:grid;grid-template-columns:repeat(3,44px)}
}
@media(max-width:430px){
  .channel-list,.channel-tabs{grid-template-columns:1fr}.channel-tabs{grid-column:auto}
  .channel-list button,.channel-external{justify-content:start;padding:.5rem .85rem;gap:.6rem;font-size:.875rem}
  .feed-top{align-items:start;flex-direction:column;gap:.25rem}
  .telegram-stories{grid-template-columns:1fr}
}
@property --gold-sweep{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes gold-edge{
  from{--gold-sweep:25deg;opacity:0}
  12%{opacity:1}
  61%{opacity:.96}
  82%{opacity:.32}
  to{--gold-sweep:385deg;opacity:0}
}
@keyframes gold-surface{
  62%,to{background-color:#ecc479;color:#211710}
}
@keyframes gold-store-label{62%,to{color:#211710}}
@keyframes gold-store-icon{62%,to{filter:brightness(0)}}
@media(prefers-reduced-motion:no-preference){
  .gold-press,.hero-intro .actions>a.gold-press{
    --gold-edge-time:260ms;
    --gold-fill-time:260ms;
    position:relative;animation:gold-surface var(--gold-fill-time) ease-out var(--gold-edge-time) forwards;
  }
  .store.gold-press small{animation:gold-store-label var(--gold-fill-time) ease-out var(--gold-edge-time) forwards}
  .store.gold-press .icon{animation:gold-store-icon var(--gold-fill-time) ease-out var(--gold-edge-time) forwards}
  .gold-press::after{
    content:"";position:absolute;inset:-2px;border-radius:inherit;padding:2px;
    background:conic-gradient(from var(--gold-sweep),transparent 58%,#b87f2e 75%,#fff4b9 93%,transparent);
    mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    mask-composite:exclude;pointer-events:none;opacity:0;animation:gold-edge var(--gold-edge-time) linear both;
  }
}

.telegram-stories .post-copy{flex:1;display:flex;flex-direction:column;gap:.6rem}
.telegram-stories > .post{display:flex}
.telegram-stories .post-caption{white-space:pre-line;margin:0}
.telegram-stories .post:hover{border-color:var(--line)}
.post-date,.post-preview,.post-links a{align-self:start;color:var(--link);text-underline-offset:.2em;overflow-wrap:anywhere}
.post-date{margin-top:auto}
.post-preview{display:block;border:1px solid var(--line);border-radius:14px;padding:.6rem .7rem;font-weight:650}
.post-links{display:flex;flex-wrap:wrap;gap:.45rem .8rem;font-size:.83rem}
.post-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,80px),1fr));gap:.4rem;padding:.65rem .65rem 0}
.post-photo{position:relative;display:grid;place-items:center;min-width:0;background:var(--paper);border-radius:9px}
.post-photo-link{display:block;width:100%;border-radius:inherit;overflow:hidden}
.post-photo-link img{display:block;width:100%;height:clamp(128px,25vw,215px);object-fit:contain;transition:filter 180ms ease}
.post-photo:is(:hover,:focus-within) img{filter:brightness(.56)}
.post-expand{position:absolute;right:.3rem;bottom:.3rem;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff8e8;background:#17150fe6;opacity:0;transition:opacity 180ms ease}
.post-photo:is(:hover,:focus-within) .post-expand{opacity:1}
@media(hover:none){.post-expand{opacity:1}}
@media(prefers-reduced-motion:reduce){.post-photo-link img,.post-expand{transition:none}}
