@font-face{font-family:RamahPlex;src:url(assets/PlexArabic-Regular.woff) format('woff');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:RamahPlex;src:url(assets/PlexArabic-SemiBold.woff) format('woff');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:RamahPlex;src:url(assets/PlexArabic-Bold.woff) format('woff');font-style:normal;font-weight:700;font-display:swap}
:root{--plum:#430f45;--plum-dark:#350d37;--lilac:#b8a8ce;--lilac-soft:#eee7f1;--sand:#d6bb9e;--pink:#d11459;--petrol:#123b48;--ink:#2e2030;--muted:#685967;--paper:#faf7f3;--white:#fff;--line:#e8dde4;--radius:16px;--shell:1220px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:16px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.6 RamahPlex,Arial,sans-serif}
button,select{font:inherit}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--pink);outline-offset:4px}
h1[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}
img{display:block;max-width:100%;object-fit:cover}
h1,h2,h3,p{margin:0}
h1,h2,h3{line-height:1.28;color:var(--plum);font-weight:700}
h2{font-size:clamp(1.6rem,3vw,2.15rem)}
[hidden]{display:none!important}
svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}
.icon-defs{width:0;height:0;position:absolute;overflow:hidden}
.shell{max-width:var(--shell);width:calc(100% - 64px);margin-inline:auto}
.sr-only,.skip-link:not(:focus){clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px;position:absolute}
.skip-link:focus{position:absolute;z-index:10;inset:8px 8px auto auto;background:white;padding:12px;border-radius:8px}
.site-header{background:var(--paper)}
.header-inner{min-height:87px;display:flex;align-items:center;gap:38px}
.brand{display:inline-flex;align-items:center;flex:none}
.brand img{object-fit:contain}
.header-inner nav{display:flex;gap:27px;align-items:center;color:var(--plum);font-size:15px;font-weight:600}
.header-inner nav a{padding-block:11px}
.header-inner nav a:hover,.text-button:hover,.breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
.header-action{margin-inline-start:auto}
.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:8px;padding:9px 17px;border:1px solid transparent;font-weight:600;line-height:1.4;text-align:center;transition:background-color .15s,box-shadow .15s}
.button-sand{background:var(--sand);color:var(--plum-dark)}
.button-sand:hover{background:#e4cdb3}
.button-primary{background:var(--plum);color:white}
.button-primary:hover{background:#612062}
.button-outline{border-color:#d7c6d5;color:var(--plum);background:transparent}
.button-outline:hover{background:var(--lilac-soft)}

.hero{display:grid;grid-template-columns:1fr 1.08fr;min-height:420px;overflow:hidden;border-radius:20px;background:var(--plum)}
.hero-copy{display:flex;flex-direction:column;justify-content:space-between;color:white;min-width:0}
.hero-content{padding:50px 43px 35px;flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.eyebrow{display:flex;gap:8px;align-items:center;color:#eddae8;font-size:15px;margin-bottom:13px}
.eyebrow span{display:block;width:8px;height:8px;background:#f080ac;transform:rotate(45deg);margin-inline-end:3px}
.hero h1{font-size:clamp(2.2rem,4vw,3.53rem);color:white;letter-spacing:-.026em;line-height:1.26}
.hero h1 em{font-style:normal;color:#ead1b5}
.hero-description{color:#f2e6ef;max-width:440px;line-height:1.78;margin:20px 0 24px;font-size:16px}
.hero-pattern{height:34px;background:#522251 url(assets/ramah-pattern-cultural-dark.svg) repeat-x center 42%;background-size:208px 130px}
.hero-photo{min-width:0;min-height:385px;position:relative;display:block;overflow:hidden}
.hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-position:54% 53%;transition:transform .25s}
.hero-photo:hover img{transform:scale(1.025)}
.photo-caption{position:absolute;inset:auto 0 0;display:flex;align-items:end;justify-content:space-between;padding:52px 25px 19px;background:linear-gradient(0deg,rgba(36,9,27,.83),transparent);color:white}
.photo-caption small,.photo-caption strong{display:block}
.photo-caption small{font-size:13px;color:#f1e3ed}
.photo-caption strong{font-size:22px;line-height:1.35}
.photo-caption svg{width:23px;height:23px;margin-bottom:3px}

.campaigns-section{padding-top:42px}
.section-heading{display:flex;align-items:end;gap:14px;justify-content:space-between;margin-bottom:20px}
.section-heading p{color:var(--muted);margin-top:5px}
.section-heading .button{white-space:nowrap}
.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:19px}
.filter{border:1px solid var(--line);border-radius:999px;padding:7px 13px;background:white;color:var(--muted);min-height:36px;white-space:nowrap;font-size:14px}
.filter[aria-pressed="true"]{background:var(--plum);color:white;border-color:var(--plum);font-weight:600}
.filter:hover:not([aria-pressed="true"]){background:var(--lilac-soft)}
.campaign-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.campaign-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}
.campaign-card:hover{box-shadow:0 8px 21px #430f4512}
.campaign-card a{display:block}
.campaign-card img{width:100%;aspect-ratio:1.94;height:auto;object-position:center 45%}
.card-body{padding:16px 18px 17px}
.category{color:var(--plum);font-weight:600;font-size:13px}
.campaign-card h3{font-size:22px;margin-top:3px}
.summary{color:var(--muted);font-size:14px;line-height:1.65;margin:8px 0 13px;min-height:2.6em}
.progress{display:block;width:100%;height:8px;appearance:none;border:0;border-radius:8px;background:var(--lilac-soft);overflow:hidden;color:var(--plum)}
.progress::-webkit-progress-bar{background:var(--lilac-soft);border-radius:8px}
.progress::-webkit-progress-value{background:var(--plum);border-radius:8px}
.progress::-moz-progress-bar{background:var(--plum);border-radius:8px}
.progress-copy{display:flex;justify-content:space-between;gap:8px;margin-top:9px;font-size:13px;color:var(--muted)}
.progress-copy strong{color:var(--plum);font-weight:700}
.card-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.card-bottom strong{color:var(--plum);font-weight:600}
.empty{grid-column:1/-1;padding:40px 20px;text-align:center;border:1px solid var(--line);border-radius:12px;background:white}
.empty p{margin:8px 0 16px;color:var(--muted)}

.how-section{margin-block:48px;padding:29px 31px;display:grid;gap:18px;border-radius:var(--radius);background:#f2eaf2 url(assets/ramah-pattern-light.svg) repeat;background-size:240px 144px}
.how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.how-grid article{padding:17px;background:#fff;border-radius:10px}
.how-grid strong{font-size:17px;color:var(--plum)}
.how-grid p{font-size:14px;color:var(--muted);margin-top:4px}
.site-footer{margin-top:42px;border-top:1px solid var(--line)}
.footer-pattern{height:12px;background:url(assets/ramah-pattern-cultural.svg) repeat-x center 68%;background-size:200px 125px}
.footer-inner{min-height:84px;display:flex;align-items:center;gap:20px;justify-content:space-between;font-size:13px;color:var(--muted)}
.text-button{background:transparent;border:0;color:var(--plum);font-weight:600;display:inline-flex;align-items:center;gap:6px;padding:5px 0}

.detail{padding-top:13px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;font-size:14px;color:var(--muted);margin-bottom:14px}
.breadcrumb a{color:var(--plum)}
.detail-heading{margin-bottom:21px}
.detail-heading .category{margin-bottom:4px}
.detail-heading h1{font-size:clamp(2rem,4.5vw,3.2rem);margin-bottom:8px}
.detail-heading .lead{font-size:17px;color:var(--muted);max-width:760px}
.owner{margin-top:9px;font-size:14px;color:var(--muted)}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.64fr) minmax(310px,1fr);align-items:start;gap:22px}
.detail-photo{grid-column:1;grid-row:1;min-width:0}
.detail-photo img{width:100%;height:auto;aspect-ratio:1.57;border-radius:var(--radius);object-position:50% 53%}
.detail-about{grid-column:1;grid-row:2;min-width:0;align-self:start;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px 27px}
.detail-about h2{font-size:23px;margin-bottom:10px}
.detail-about p{color:var(--muted);line-height:1.8;margin-top:9px}
.detail-about details{margin-top:17px;border-top:1px solid var(--line);padding-top:13px;color:var(--plum)}
.detail-about summary{cursor:pointer;font-weight:600}
.funding-column{grid-column:2;grid-row:1 / span 2;display:grid;gap:17px}
.funding,.rewards{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:22px}
.funding-top{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.round{font-size:13px;font-weight:600;color:var(--muted)}
.state{font-weight:600;color:var(--petrol);background:#e9f2ef;border-radius:7px;padding:3px 9px;font-size:13px}
.state[data-state="topup"]{color:#66401d;background:#f7e9d8}
.funding-amount{font-size:clamp(1.8rem,3vw,2.5rem);font-weight:700;line-height:1.27;margin-top:11px;color:var(--plum)}
.funding-amount small{font-size:17px;font-weight:600}
.funding-target{font-size:14px;color:var(--muted);margin:3px 0 14px}
.funding .progress{height:10px}
.funding-note{color:var(--muted);padding-block:10px;font-size:14px}
.funding-note svg{width:17px;margin-inline-end:4px;color:var(--plum)}
.funding .button{width:100%;margin-top:6px}
.funding-callout{background:#faf3ec;border-inline-start:3px solid #c09671;padding:10px 12px;border-radius:5px;font-size:14px;margin-top:14px;color:#5c3d22}
.rewards h2{font-size:24px}
.rewards>p{margin:5px 0 12px;color:var(--muted);font-size:14px}
.reward{display:block;text-align:start;background:white;color:var(--ink);border-radius:9px;border:1px solid var(--line);padding:13px 12px;width:100%;margin-top:9px}
.reward:hover:not(:disabled){background:#f8f0f7;border-color:#bda1be}
.reward:disabled{cursor:default;color:var(--muted)}
.reward-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--plum);font-weight:600}
.reward-price{white-space:nowrap}
.reward-description{display:block;font-size:13px;color:var(--muted);margin-top:4px}
.reward small{color:var(--muted);display:block;margin-top:4px}
.review-state{margin-top:25px;color:var(--muted);background:#f3eaf3;padding:11px 14px;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}
.review-state select{max-width:250px;color:var(--plum);background:white;border:1px solid #d6c6d3;border-radius:7px;padding:6px 9px}

dialog{border:1px solid var(--line);border-radius:16px;width:min(640px,calc(100% - 32px));max-height:calc(100% - 32px);max-height:calc(100dvh - 32px);color:var(--ink);padding:0;box-shadow:0 24px 72px #28102740}
dialog::backdrop{background:#29122599}
.dialog-inner{position:relative;padding:28px}
.dialog-inner h2{padding-inline-end:42px;font-size:26px}
.dialog-inner p{color:var(--muted);margin:8px 0 13px}
.dialog-inner ol{margin:10px 0 0;padding-inline-start:24px}
.dialog-inner li{margin-block:6px}
.icon-button{border:0;background:var(--lilac-soft);color:var(--plum);display:grid;place-items:center;border-radius:8px;width:38px;height:38px}
.dialog-close{position:absolute;inset:21px auto auto 21px}
.category-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.category-list .button{width:100%;font-size:14px;padding-inline:8px;white-space:normal}
.dialog-total{border-block:1px solid var(--line);padding:13px 0;margin:14px 0;display:flex;justify-content:space-between;align-items:center;color:var(--plum);gap:10px}

@media(max-width:1000px){.shell{width:calc(100% - 40px)}.hero-content{padding-inline:30px}.hero{min-height:386px}.hero-photo{min-height:365px}.campaign-grid{gap:12px}.card-body{padding-inline:13px}.detail-grid{gap:15px}.funding,.rewards{padding:17px}}
@media(max-width:760px){.shell{width:calc(100% - 32px)}.header-inner{min-height:70px;gap:12px}.brand img{width:78px;height:auto}.header-inner nav{margin-inline-start:auto;gap:13px;font-size:13px}.header-inner nav a[data-href="how"]{display:none}.header-action{margin:0;padding:7px 9px;min-height:39px;font-size:13px;white-space:nowrap}.hero{grid-template-columns:1fr;border-radius:14px}.hero-content{padding:26px 22px 24px}.hero h1{font-size:clamp(2.08rem,8.7vw,3rem)}.hero-description{font-size:15px;margin:13px 0 18px}.hero-pattern{height:18px}.hero-photo{min-height:215px}.photo-caption{padding:29px 15px 11px}.photo-caption strong{font-size:18px}.campaigns-section{padding-top:29px}.section-heading{align-items:start;margin-bottom:14px}.section-heading p{font-size:13px}.section-heading .button{padding:6px 9px;font-size:13px;min-height:39px}.section-heading .button svg{width:15px;height:15px}.filters{gap:6px;margin-bottom:13px}.filter{padding:5px 10px;min-height:35px;font-size:12px}.campaign-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary{min-height:0}.how-section{margin-block:31px;padding:18px}.how-grid{grid-template-columns:1fr}.footer-inner{gap:11px}.footer-inner .text-button{display:none}.detail-heading{margin-bottom:14px}.detail-heading .lead{font-size:15px}.detail-grid{grid-template-columns:1fr}.detail-photo,.detail-about,.funding-column{grid-row:auto;grid-column:1}.detail-photo img{aspect-ratio:1.5;max-height:390px}.detail-about{grid-row:3;padding:17px}.funding-column{grid-row:2}.review-state{font-size:13px;margin-top:17px}.review-state select{max-width:55%;font-size:13px}}
@media(max-width:505px){.campaign-grid{grid-template-columns:1fr}.campaign-card img{aspect-ratio:1.99}.card-body{padding:13px 14px 14px}.section-heading h2{font-size:21px}.section-heading .button{white-space:nowrap}.category-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-inner{padding:20px}.dialog-close{inset:16px auto auto 16px}.dialog-inner h2{font-size:22px}}
@media(max-width:360px){.header-inner nav{font-size:12px}.header-inner{gap:8px}.header-inner img{width:68px}.hero-content{padding-inline:16px}.section-heading{gap:6px}.section-heading .button{font-size:12px}.section-heading .button svg{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
