/* Refah refinement round two: editorial hierarchy, slim forms, and scroll-led stories. */

/* Home hero actions */
body.home .refah-hero__copy h1 { max-width: 680px; }
.refah-hero-actions--expressive { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,720px); gap: 12px; }
.refah-hero-action { position: relative; isolation: isolate; display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 13px; min-height: 96px; padding: 16px 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 10px 36px 10px 10px; color: #fff; box-shadow: 0 22px 50px rgba(8,46,64,.17); transition: translate .25s ease-out, box-shadow .25s, border-color .25s; }
.refah-hero-action::before { content: ''; position: absolute; z-index: -1; width: 44%; height: 220%; inset-block-start: -60%; inset-inline-start: -65%; rotate: 18deg; background: rgba(255,255,255,.18); filter: blur(3px); transition: inset-inline-start .55s ease-out; }
.refah-hero-action:hover { translate: 0 -5px; border-color: rgba(255,255,255,.7); box-shadow: 0 30px 60px rgba(8,46,64,.24); }
.refah-hero-action:hover::before { inset-inline-start: 125%; }
.refah-hero-action--care { background: linear-gradient(128deg,#245d9c,#397fd1); }
.refah-hero-action--give { background: linear-gradient(128deg,#158071,#4fc1ad 72%,#75d9c5); }
.refah-hero-action__icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(255,255,255,.13); font-size: 18px; }
.refah-hero-action small, .refah-hero-action strong { display: block; color: #fff; }
.refah-hero-action small { margin-block-end: 2px; font-size: 11px; font-weight: 500; opacity: .72; }
.refah-hero-action strong { font-size: 15px; line-height: 1.35; }
.refah-hero-action__arrow { font-size: 13px; transition: transform .25s ease-out; }
.refah-hero-action:hover .refah-hero-action__arrow { transform: translateX(-5px); }
.refah-hero-action__volunteer { grid-column: 1/-1; display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 4px; color: var(--refah-ink); font-size: 13px; font-weight: 800; }
.refah-hero-action__volunteer > span { color: var(--refah-teal-deep); transition: transform .25s; }
.refah-hero-action__volunteer:hover > span { transform: translateX(-5px); }

/* Beneficiary portrait */
.refah-audiences__layout { grid-template-columns: minmax(310px,.72fr) minmax(0,1.28fr); align-items: stretch; }
.refah-audiences__image--portrait { min-height: 760px; aspect-ratio: .72; border-radius: 170px 18px 170px 18px; box-shadow: 28px 28px 0 rgba(79,193,173,.14); }
.refah-audiences__image--portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* Three service portals: 5 + 4 + 3 columns = one dense twelve-column row. */
.refah-services { overflow: hidden; color: rgba(255,255,255,.72); background: linear-gradient(135deg,#082e40,#0f465a 58%,#176e72); }
.refah-services::before { content: ''; position: absolute; width: 620px; height: 620px; inset-inline-end: -350px; inset-block-start: -300px; border: 72px solid rgba(79,193,173,.08); border-radius: 50%; }
.refah-services .refah-section-heading h2 { color: #fff; }
.refah-services .refah-section-heading p { color: rgba(255,255,255,.65); }
.refah-home-services { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: dense; gap: 1px; overflow: hidden; border-start-start-radius: 92px; border-end-end-radius: 92px; background: transparent; }
.refah-home-service { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 590px; padding: 28px; overflow: hidden; color: #fff; background: #123d50; }
.refah-home-service--1 { grid-column: span 5; border-start-start-radius: 92px; }
.refah-home-service--2 { grid-column: span 4; }
.refah-home-service--3 { grid-column: span 3; border-end-end-radius: 92px; }
.refah-home-service > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08); transition: transform .7s ease-out, filter .5s; }
.refah-home-service__veil { position: absolute; z-index: -2; inset: 0; background: linear-gradient(to top,rgba(8,46,64,.98) 8%,rgba(8,46,64,.5) 58%,rgba(8,46,64,.13)); transition: background .35s; }
.refah-home-service::after { content: ''; position: absolute; z-index: -1; inset: 0; border: 1px solid transparent; transition: border-color .25s; }
.refah-home-service:hover > img { transform: scale(1.065); filter: saturate(1) contrast(1.05); }
.refah-home-service:hover::after { border-color: rgba(255,255,255,.5); }
.refah-home-service__top { display: flex; align-items: center; justify-content: space-between; }
.refah-home-service__top > span { font: 700 42px/1 Outfit,Tajawal,sans-serif; color: rgba(255,255,255,.5); }
.refah-home-service__top i { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(8,46,64,.25); backdrop-filter: blur(12px); }
.refah-home-service__copy small { color: #8fe4d4; font-size: 12px; font-weight: 800; }
.refah-home-service__copy h3 { margin-block: 10px; color: #fff; font-size: clamp(1.7rem,2.45vw,2.55rem); }
.refah-home-service__copy p { display: -webkit-box; max-width: 520px; margin: 0; overflow: hidden; color: rgba(255,255,255,.72); -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.refah-home-service__copy b { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 24px; padding-block-start: 16px; border-block-start: 1px solid rgba(255,255,255,.22); font-size: 13px; }
.refah-home-service__copy b i { color: var(--refah-sun); }
.refah-services__all { margin-block: 34px 0; }
.refah-services__directory { color: #fff; }

/* Home programs: scroll storytelling with a sticky navigator and stacking chapters. */
.refah-program-story { position: relative; overflow: clip; padding-block: clamp(120px,13vw,190px); color: rgba(255,255,255,.72); background: radial-gradient(circle at 14% 8%,rgba(79,193,173,.2),transparent 25%),linear-gradient(155deg,#071f2c,#082e40 55%,#123d50); }
.refah-program-story__heading { display: grid; grid-template-columns: minmax(0,7fr) minmax(280px,5fr); gap: 50px; align-items: end; margin-block-end: 100px; }
.refah-program-story__heading h2 { color: #fff; font-size: clamp(3rem,5.5vw,5.7rem); line-height: 1.18; }
.refah-program-story__heading > p { max-width: 500px; margin: 0; color: rgba(255,255,255,.64); font-size: 19px; }
.refah-program-story__layout { display: grid; grid-template-columns: minmax(250px,3fr) minmax(0,9fr); gap: clamp(36px,6vw,90px); align-items: start; }
.refah-program-story__navigator { position: sticky; inset-block-start: 130px; padding-block-start: 8px; }
.refah-program-story__navigator > span { display: flex; align-items: baseline; gap: 6px; color: rgba(255,255,255,.42); font: 600 15px/1 Outfit,Tajawal,sans-serif; }
.refah-program-story__navigator > span b { color: var(--refah-teal); font-size: 56px; }
.refah-program-story__rail { width: 100%; height: 2px; margin-block: 24px; overflow: hidden; background: rgba(255,255,255,.13); }
.refah-program-story__rail i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg,var(--refah-teal),var(--refah-sun)); transform: scaleX(0); transform-origin: right center; }
.refah-program-story__navigator p { max-width: 270px; color: rgba(255,255,255,.58); font-size: 14px; }
.refah-program-story__navigator a { margin-block-start: 24px; color: #fff; }
.refah-program-story__chapters { min-width: 0; }
.refah-program-story__chapter { position: sticky; inset-block-start: 108px; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(300px,.92fr); min-height: 600px; margin-block-end: 15vh; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 18px 92px 18px 18px; background: #0d3d50; box-shadow: 0 -28px 65px rgba(3,20,28,.34); }
.refah-program-story__chapter:nth-child(2) { inset-block-start: 120px; background: #174e61; }
.refah-program-story__chapter:nth-child(3) { inset-block-start: 132px; background: #245d78; }
.refah-program-story__chapter:nth-child(4) { inset-block-start: 144px; background: #175d63; }
.refah-program-story__chapter:nth-child(5) { inset-block-start: 156px; margin-block-end: 0; background: #2b5966; }
.refah-program-story__chapter figure { position: relative; min-height: 600px; overflow: hidden; }
.refah-program-story__chapter figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 55%,rgba(8,46,64,.62)); }
.refah-program-story__chapter figure img { width: 100%; height: 100%; object-fit: cover; }
.refah-program-story__chapter figure span { position: absolute; z-index: 2; inset-inline-start: 26px; inset-block-start: 22px; color: rgba(255,255,255,.78); font: 700 60px/1 Outfit,Tajawal,sans-serif; }
.refah-program-story__chapter > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px,5vw,72px); }
.refah-program-story__chapter small { color: var(--refah-teal); font-size: 12px; font-weight: 800; }
.refah-program-story__chapter h3 { margin-block: 12px 18px; color: #fff; font-size: clamp(2rem,3.3vw,3.6rem); }
.refah-program-story__chapter p { color: rgba(255,255,255,.68); }
.refah-program-story__chapter > div > a { display: flex; align-items: center; justify-content: space-between; margin-block-start: 34px; padding-block: 17px; border-block: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 800; }
.refah-program-story__chapter > div > a i { color: var(--refah-sun); transition: transform .25s; }
.refah-program-story__chapter > div > a:hover i { transform: translateX(-6px); }

/* News rebuilt as explicit article/media/content flow. */
.refah-news-feature { position: relative; display: grid; grid-template-rows: minmax(330px,1fr) auto; min-height: 620px; overflow: hidden; border: 1px solid rgba(18,61,80,.13); border-radius: 18px 76px 18px 18px; color: var(--refah-ink); background: #fff; box-shadow: 0 28px 70px rgba(8,46,64,.1); }
.refah-news-feature::after { display: none; }
.refah-news-feature__media { position: relative; display: block; min-height: 360px; overflow: hidden; }
.refah-news-feature__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(8,46,64,.42),transparent 48%); }
.refah-news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.refah-news-feature:hover img { transform: scale(1.045); }
.refah-news-feature__content { position: relative; inset: auto; padding: 28px 30px 26px; }
.refah-news-feature__content time { color: var(--refah-teal-deep); font-size: 12px; font-weight: 800; }
.refah-news-feature__content h3 { margin-block: 7px 10px; color: var(--refah-ink); font-size: clamp(1.45rem,2.2vw,2.05rem); }
.refah-news-feature__content h3 a { color: inherit; }
.refah-news-feature__content p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--refah-muted); font-size: 14px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.refah-news-feature__link { display: flex; align-items: center; justify-content: space-between; margin-block-start: 18px; padding-block-start: 15px; border-block-start: 1px solid rgba(18,61,80,.12); color: var(--refah-ink); font-size: 13px; font-weight: 800; }
.refah-news-feature__link i { color: var(--refah-blue); }

/* Partner carousel */
.refah-partners { padding-block: clamp(100px,10vw,145px) 0; }
.refah-partners__head { display: grid; grid-template-columns: minmax(0,5fr) minmax(300px,4fr) auto; align-items: end; gap: 38px; }
.refah-partners__head h2 { font-size: clamp(2.5rem,4vw,4.3rem); }
.refah-partners__head > div:nth-child(2) small { display: block; margin-block-start: 10px; color: rgba(255,255,255,.42); font-size: 11px; }
.refah-partner-carousel { margin-block-start: 58px; }
.refah-partner-carousel__controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-block-end: 18px; }
.refah-partner-carousel__controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; transition: color .2s,background .2s,border-color .2s; }
.refah-partner-carousel__controls button:hover { border-color: var(--refah-teal); color: var(--refah-ink); background: var(--refah-teal); }
.refah-partner-carousel__controls span { min-width: 72px; color: rgba(255,255,255,.55); font: 600 12px/1 Outfit,Tajawal,sans-serif; text-align: center; }
.refah-partner-carousel__viewport { overflow: hidden; outline: 0; }
.refah-partner-carousel__viewport:focus-visible { outline: 3px solid var(--refah-teal); outline-offset: 6px; }
.refah-partner-carousel__track { display: flex; gap: 16px; width: max-content; }
.refah-partner-slide { position: relative; flex: 0 0 clamp(260px,26vw,355px); display: flex; flex-direction: column; min-height: 245px; padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px 58px 12px 12px; color: #fff; background: rgba(255,255,255,.055); transition: translate .25s ease-out,background .25s,border-color .25s; }
.refah-partner-slide:hover { translate: 0 -5px; border-color: rgba(79,193,173,.55); background: rgba(255,255,255,.09); }
.refah-partner-slide > span { display: grid; place-items: center; min-height: 155px; margin-block-end: 16px; padding: 22px; border-radius: 7px 38px 7px 7px; background: rgba(255,255,255,.96); }
.refah-partner-slide img { max-width: 180px; max-height: 92px; object-fit: contain; }
.refah-partner-slide b { font-size: 14px; }
.refah-partner-slide small { margin-block-start: 3px; color: rgba(255,255,255,.45); font-size: 10px; }
.refah-partners .refah-impact-marquee { margin-block-start: 74px; }

/* About: no internal sticky navigation; values are manifesto bands. */
.refah-about-nav { display: none !important; }
.refah-about-values { padding-block: clamp(120px,12vw,180px); color: #fff; background: radial-gradient(circle at 8% 12%,rgba(79,193,173,.18),transparent 24%),linear-gradient(145deg,#071f2c,#0d394a); }
.refah-about-values__heading { display: grid; grid-template-columns: minmax(0,7fr) minmax(300px,5fr); gap: 50px; align-items: end; margin-block-end: 76px; }
.refah-about-values__heading h2 { color: #fff; font-size: clamp(2.45rem,4vw,4.2rem); line-height: 1.2; }
.refah-about-values__heading > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.62); font-size: 18px; }
.refah-values-spectrum { border-block-start: 1px solid rgba(255,255,255,.16); }
.refah-value-band { --value-color:#4fc1ad; position: relative; isolation: isolate; display: grid; grid-template-columns: 110px minmax(230px,3fr) minmax(0,5fr) 22px; gap: 30px; align-items: center; min-height: 170px; padding: 28px 22px; overflow: hidden; border-block-end: 1px solid rgba(255,255,255,.16); transition: color .3s, padding-inline .35s ease-out; }
.refah-value-band:nth-child(2) { --value-color:#83b9ed; }
.refah-value-band:nth-child(3) { --value-color:#ef7e71; }
.refah-value-band:nth-child(4) { --value-color:#f3c969; }
.refah-value-band::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,color-mix(in srgb,var(--value-color) 28%,transparent),transparent 72%); opacity: 0; transition: opacity .3s; }
.refah-value-band:hover { padding-inline: 34px 12px; }
.refah-value-band:hover::before { opacity: 1; }
.refah-value-band__number { color: rgba(255,255,255,.3); font: 700 46px/1 Outfit,Tajawal,sans-serif; }
.refah-value-band__title { display: flex; align-items: center; gap: 18px; }
.refah-value-band__title i { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid color-mix(in srgb,var(--value-color) 60%,transparent); border-radius: 50%; color: var(--value-color); }
.refah-value-band h3 { color: #fff; font-size: clamp(1.8rem,2.7vw,3rem); }
.refah-value-band p { max-width: 650px; margin: 0; color: rgba(255,255,255,.63); }
.refah-value-band__pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--value-color); box-shadow: 0 0 0 0 color-mix(in srgb,var(--value-color) 50%,transparent); transition: box-shadow .3s; }
.refah-value-band:hover .refah-value-band__pulse { box-shadow: 0 0 0 12px color-mix(in srgb,var(--value-color) 12%,transparent); }

/* About goals: portrait anchor + border-only objective matrix. */
.refah-about-goals { padding-block: clamp(120px,12vw,180px); background: linear-gradient(145deg,#fff7ea,#edf7ff); }
.refah-about-goals__heading { display: grid; grid-template-columns: minmax(0,7fr) minmax(280px,5fr); gap: 45px; align-items: end; margin-block-end: 70px; }
.refah-about-goals__heading h2 { max-width: 760px; font-size: clamp(2.4rem,3.9vw,4.1rem); }
.refah-about-goals__heading > p { max-width: 430px; margin: 0; color: var(--refah-muted); }
.refah-about-goals__canvas { display: grid; grid-template-columns: minmax(300px,4fr) minmax(0,8fr); gap: 1px; align-items: stretch; background: rgba(18,61,80,.16); }
.refah-about-goals__canvas > figure { position: relative; min-height: 840px; overflow: hidden; background: var(--refah-blue-deep); }
.refah-about-goals__canvas > figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: saturate(.82); }
.refah-about-goals__canvas > figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(8,46,64,.82),transparent 55%); }
.refah-about-goals__canvas figcaption { position: absolute; z-index: 2; inset-inline: 28px; inset-block-end: 26px; color: #fff; font-weight: 800; }
.refah-about-goals__matrix { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; padding: 0; list-style: none; gap: 1px; }
.refah-about-goals__matrix li { display: grid; grid-template-columns: 54px 1fr; gap: 15px; align-content: center; min-height: 209px; padding: 26px; background: rgba(255,255,255,.88); transition: background .25s, color .25s; }
.refah-about-goals__matrix li:nth-child(3n+2) { background: rgba(232,250,245,.9); }
.refah-about-goals__matrix li:hover { color: #fff; background: var(--refah-blue-deep); }
.refah-about-goals__matrix span { color: var(--refah-coral); font: 700 30px/1 Outfit,Tajawal,sans-serif; }
.refah-about-goals__matrix p { margin: 0; color: inherit; }
.refah-about-audiences { padding-block: clamp(88px,8.5vw,128px); }
.refah-about-audiences .refah-about-audiences__heading { max-width: 900px; margin-block-end: 48px; }
.refah-about-audiences .refah-about-audiences__heading h2, .refah-about-audiences .refah-about-audiences__heading p { color: var(--refah-ink-deep); font-weight: 900; }
.refah-about-audiences .refah-about-audiences__heading h2 { max-width: 850px; font-size: clamp(2.3rem,3.55vw,3.75rem); line-height: 1.22; }
.refah-about-audiences .refah-about-audiences__heading p { max-width: 760px; margin-block-start: 12px; font-size: clamp(16px,1.25vw,18px); line-height: 1.75; }
.refah-about-audiences__stage { min-height: 520px; }
.refah-about-audience__content { inset-block-end: 38px; }
.refah-about-audience__content > span { inset-block-start: -340px; }
.refah-about-audience h3 { font-size: clamp(1.65rem,2.25vw,2.45rem); }

/* Program guide */
.refah-program-guide__overview { padding-block: clamp(90px,10vw,140px); background: #fffdf9; }
.refah-program-guide__overview-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(300px,5fr); gap: 35px 65px; align-items: end; }
.refah-program-guide__overview h2 { max-width: 760px; font-size: clamp(2.3rem,3.55vw,3.85rem); }
.refah-program-guide__overview-grid > p { max-width: 520px; margin: 0; color: var(--refah-muted); font-size: 17px; }
.refah-program-guide__legend { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 10px; padding-block-start: 25px; border-block-start: 1px solid rgba(18,61,80,.14); }
.refah-program-guide__legend span { padding: 7px 11px; border: 1px solid rgba(18,61,80,.14); color: var(--refah-ink); font-size: 12px; font-weight: 800; }
.refah-program-guide__catalogue { padding-block: clamp(90px,10vw,150px); background: linear-gradient(180deg,#edf6ff,#f8fbff); }
.refah-program-guide__layout { display: grid; grid-template-columns: minmax(240px,3fr) minmax(0,9fr); gap: clamp(35px,6vw,85px); align-items: start; }
.refah-program-guide__index { position: sticky; inset-block-start: 115px; max-height: calc(100vh - 150px); overflow: auto; border-block-start: 3px solid var(--refah-blue); }
.refah-program-guide__index > span { display: block; padding-block: 18px; color: var(--refah-muted); font-size: 12px; font-weight: 800; }
.refah-program-guide__index nav { display: grid; }
.refah-program-guide__index a { display: grid; grid-template-columns: 34px 1fr; gap: 8px; padding: 11px 6px; border-block-start: 1px solid rgba(18,61,80,.1); color: var(--refah-muted); font-size: 12px; }
.refah-program-guide__index a small { color: rgba(18,61,80,.35); font: 700 11px/1.6 Outfit,Tajawal,sans-serif; }
.refah-program-guide__index a.is-active { padding-inline-start: 12px; color: var(--refah-ink); background: #fff; font-weight: 800; }
.refah-program-guide__stream { min-width: 0; border-block-start: 1px solid rgba(18,61,80,.15); }
.refah-program-guide__entry { display: grid; grid-template-columns: 74px minmax(190px,240px) minmax(0,1fr); gap: 28px; align-items: center; min-height: 320px; padding-block: 34px; border-block-end: 1px solid rgba(18,61,80,.15); scroll-margin-top: 115px; }
.refah-program-guide__number { align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.refah-program-guide__number span { color: var(--refah-blue); font: 700 28px/1 Outfit,Tajawal,sans-serif; }
.refah-program-guide__number i { width: 1px; flex: 1; margin-block-start: 18px; background: linear-gradient(var(--refah-blue),transparent); }
.refah-program-guide__entry figure { height: 245px; overflow: hidden; border-radius: 10px 66px 10px 10px; }
.refah-program-guide__entry figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.refah-program-guide__entry:hover figure img { transform: scale(1.055); }
.refah-program-guide__entry small { color: var(--refah-teal-deep); font-size: 11px; font-weight: 800; }
.refah-program-guide__entry h2 { margin-block: 7px 12px; font-size: clamp(1.8rem,2.8vw,2.9rem); }
.refah-program-guide__entry p { max-width: 650px; margin: 0; color: var(--refah-muted); }
.refah-program-guide__entry > div:last-child > a { display: inline-flex; align-items: center; gap: 12px; margin-block-start: 20px; color: var(--refah-ink); font-weight: 800; }
.refah-program-guide__entry > div:last-child > a i { color: var(--refah-blue); }
.refah-program-guide__closing { padding-block: 85px; color: #fff; background: linear-gradient(110deg,#082e40,#176e72); }
.refah-program-guide__closing .refah-container { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.refah-program-guide__closing h2 { max-width: 750px; color: #fff; }

/* Project and campaign collections */
.refah-impact-collection__intro { display: grid; grid-template-columns: minmax(0,8fr) minmax(260px,4fr); gap: 55px; align-items: end; margin-block-end: 70px; padding-block-end: 36px; border-block-end: 1px solid rgba(18,61,80,.15); }
.refah-impact-collection__intro span { color: var(--refah-teal-deep); font-size: 13px; font-weight: 800; }
.refah-impact-collection__intro h2 { max-width: 760px; margin-block-start: 10px; font-size: clamp(2.15rem,3.15vw,3.45rem); }
.refah-impact-collection__intro > p { margin: 0; color: var(--refah-muted); }
.refah-impact-collection__intro > p strong { display: block; color: var(--refah-blue); font: 700 66px/1 Outfit,Tajawal,sans-serif; }
.refah-project-collection { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: dense; gap: 1px; background: rgba(18,61,80,.14); }
.refah-project-piece { grid-column: span 4; display: flex; flex-direction: column; min-height: 600px; background: #fff; }
.refah-project-piece.is-featured { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,7fr) minmax(320px,5fr); min-height: 650px; color: #fff; background: #082e40; }
.refah-project-piece__image { position: relative; display: block; min-height: 360px; overflow: hidden; }
.refah-project-piece.is-featured .refah-project-piece__image { min-height: 650px; }
.refah-project-piece__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.refah-project-piece:hover img { transform: scale(1.05); }
.refah-project-piece__image span { position: absolute; z-index: 2; inset-inline-start: 20px; inset-block-start: 18px; color: #fff; font: 700 44px/1 Outfit,Tajawal,sans-serif; text-shadow: 0 3px 18px rgba(0,0,0,.4); }
.refah-project-piece > div { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.refah-project-piece.is-featured > div { padding: clamp(38px,5vw,76px); }
.refah-project-piece small { color: var(--refah-teal-deep); font-weight: 800; }
.refah-project-piece.is-featured small { color: var(--refah-teal); }
.refah-project-piece h2 { margin-block: 10px 14px; font-size: clamp(1.55rem,2vw,2.25rem); }
.refah-project-piece.is-featured h2 { font-size: clamp(1.9rem,2.65vw,2.9rem); }
.refah-project-piece.is-featured h2, .refah-project-piece.is-featured h2 a { color: #fff; }
.refah-project-piece p { color: var(--refah-muted); }
.refah-project-piece.is-featured p { color: rgba(255,255,255,.68); }
.refah-project-piece.is-featured .refah-text-link { color: #fff; }
.refah-campaign-gallery { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: dense; gap: 1px; overflow: hidden; background: rgba(255,255,255,.18); }
.refah-campaign-poster { position: relative; isolation: isolate; grid-column: span 4; display: flex; align-items: flex-end; min-height: 720px; overflow: hidden; color: #fff; background: #082e40; }
.refah-campaign-poster--1 { grid-column: span 5; border-start-start-radius: 110px; }
.refah-campaign-poster--2 { grid-column: span 4; }
.refah-campaign-poster--3 { grid-column: span 3; border-end-end-radius: 110px; }
.refah-campaign-poster__image { position: absolute; z-index: -2; inset: 0; }
.refah-campaign-poster__image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top,rgba(8,46,64,.98) 8%,rgba(8,46,64,.25) 72%); }
.refah-campaign-poster__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease-out; }
.refah-campaign-poster:hover img { transform: scale(1.055); }
.refah-campaign-poster > div { width: 100%; padding: 30px; }
.refah-campaign-poster > div > span { display: flex; align-items: center; justify-content: space-between; color: var(--refah-teal); font-size: 11px; font-weight: 800; }
.refah-campaign-poster > div > span b { color: rgba(255,255,255,.5); font: 700 40px/1 Outfit,Tajawal,sans-serif; }
.refah-campaign-poster h2 { margin-block: 10px; color: #fff; font-size: clamp(1.8rem,2.7vw,3rem); }
.refah-campaign-poster h2 a { color: #fff; }
.refah-campaign-poster p { color: rgba(255,255,255,.68); }
.refah-campaign-poster > div > a { display: flex; align-items: center; justify-content: space-between; margin-block-start: 22px; padding-block-start: 15px; border-block-start: 1px solid rgba(255,255,255,.2); color: #fff; font-weight: 800; }
.refah-campaign-poster > div > a i { color: var(--refah-coral); }

/* Slim form family */
.refah-form-page { padding-block: 64px; }
.refah-form-page__mood { inset-block-start: 18px; }
.refah-form-page .refah-content-layout { max-width: 1080px; }
.refah-form-page .refah-entry-content { grid-template-columns: minmax(220px,3fr) minmax(0,7fr); gap: 28px; padding: 30px; border-radius: 14px 58px 14px 14px; box-shadow: 0 24px 68px rgba(8,46,64,.16); }
.refah-form-page .refah-entry-content::after { width: 34%; opacity: .17; }
.refah-form-page .refah-entry-content > h2 { font-size: clamp(1.75rem,2.6vw,2.25rem); }
.refah-form-page .refah-entry-content > p { font-size: 14px; }
.refah-form { width: 100%; max-width: 760px; margin-inline: auto; padding: clamp(16px,1.8vw,24px); border-radius: 12px; }
.refah-form::before { margin-block-end: 12px; padding-block: 4px; }
.refah-form__grid { gap: 9px 12px; }
.refah-field { gap: 4px; }
.refah-field label { font-size: 12px; }
.refah-field label i { width: 22px; height: 22px; font-size: 10px; }
.refah-field input, .refah-field textarea, .refah-field select { box-sizing: border-box; height: 44px; min-height: 44px; padding: 7px 11px; border-radius: 7px; line-height: 1.2; }
.refah-field textarea { height: 88px; min-height: 88px; }
.refah-field__error:empty { display: none; }
.refah-file-picker { box-sizing: border-box; min-height: 50px; padding-block: 6px; }
.refah-file-picker span { padding: 6px 9px; }
.refah-consent { margin-block: 12px 3px; padding: 9px 10px; font-size: 12px; }
.refah-form__submit { min-height: 44px; margin-block-start: 7px; }
.refah-form-page .refah-entry-content > .refah-form { justify-self: end; }

/* Governance dashboard */
.refah-governance-dashboard { position: relative; overflow: hidden; padding-block: 92px; color: #fff; background: #071f2c; }
.refah-governance-dashboard::after { content: ''; position: absolute; width: 340px; height: 340px; inset-inline-end: -190px; inset-block-start: -190px; border: 45px solid rgba(79,193,173,.1); border-radius: 50%; }
.refah-governance-dashboard .refah-container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 70px; align-items: end; }
.refah-governance-dashboard__statement span { color: var(--refah-teal); font-size: 12px; font-weight: 800; }
.refah-governance-dashboard__statement h2 { margin-block-start: 12px; color: #fff; font-size: clamp(2.1rem,3.5vw,3.7rem); }
.refah-governance-dashboard__metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 0; border-block-start: 1px solid rgba(255,255,255,.18); }
.refah-governance-dashboard__metrics > div { padding: 24px 16px; border-inline-start: 1px solid rgba(255,255,255,.18); }
.refah-governance-dashboard__metrics dt { color: #fff; font: 700 36px/1 Outfit,Tajawal,sans-serif; }
.refah-governance-dashboard__metrics dt i { color: var(--refah-teal); font-size: 28px; }
.refah-governance-dashboard__metrics dd { margin: 8px 0 0; color: rgba(255,255,255,.55); font-size: 11px; }
.refah-governance-pillars { padding-block: 120px; }
.refah-governance-pillars > .refah-container > div { display: block; border-block-start: 1px solid rgba(18,61,80,.15); }
.refah-governance-pillars article { display: grid; grid-template-columns: 90px minmax(220px,3fr) minmax(0,5fr); gap: 28px; align-items: center; min-height: 135px; padding: 24px 20px; border-block-end: 1px solid rgba(18,61,80,.15); transition: color .25s,background .25s,padding-inline .25s; }
.refah-governance-pillars article:nth-child(even) { background: transparent; }
.refah-governance-pillars article:hover { padding-inline: 34px 6px; color: #fff; background: var(--refah-blue-deep); }
.refah-governance-pillars article h3 { font-size: 29px; }
.refah-governance-pillars article p { margin: 0; color: inherit; opacity: .72; }

/* Contact directory and slim contact form */
.refah-contact-directory { padding-block: clamp(100px,10vw,150px); background: linear-gradient(145deg,#eef8f5,#edf6ff); }
.refah-contact-directory__heading { display: grid; grid-template-columns: minmax(0,7fr) minmax(300px,5fr); gap: 50px; align-items: end; margin-block-end: 65px; }
.refah-contact-directory__heading h2 { font-size: clamp(2.8rem,4.8vw,5rem); }
.refah-contact-directory__heading > p { max-width: 450px; margin: 0; color: var(--refah-muted); }
.refah-contact-directory__grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-flow: dense; gap: 1px; background: rgba(18,61,80,.14); }
.refah-contact-directory__grid > * { position: relative; grid-column: span 3; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; min-height: 190px; padding: 24px; color: var(--refah-ink); background: rgba(255,255,255,.86); transition: color .25s,background .25s; }
.refah-contact-directory__grid > *:hover { color: #fff; background: var(--refah-blue-deep); }
.refah-contact-directory__grid > * > i { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; color: var(--refah-teal-deep); }
.refah-contact-directory__grid > *:hover > i { color: var(--refah-teal); }
.refah-contact-directory__grid span { font-weight: 800; }
.refah-contact-directory__grid small { display: block; margin-block-start: 7px; color: inherit; font-size: 11px; font-weight: 500; opacity: .68; }
.refah-contact-directory__grid b { position: absolute; inset-inline-end: 16px; inset-block-start: 14px; color: rgba(18,61,80,.18); font: 700 28px/1 Outfit,Tajawal,sans-serif; }
.refah-contact-directory__meta { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-block-start: 24px; padding-block-start: 20px; border-block-start: 1px solid rgba(18,61,80,.14); }
.refah-contact-directory__meta p { display: flex; align-items: center; gap: 10px; margin: 0; }
.refah-contact-directory__meta p span { color: var(--refah-muted); }
.refah-contact-directory__meta p b { font-size: 13px; }
.refah-socials--contact a { color: #fff; background: var(--refah-blue-deep); }
.refah-contact-form-section { padding-block: clamp(90px,10vw,140px); color: #fff; background: linear-gradient(130deg,#082e40,#174e61); }
.refah-contact-form-section__grid { display: grid; grid-template-columns: minmax(230px,4fr) minmax(0,8fr); gap: clamp(36px,6vw,85px); align-items: start; }
.refah-contact-form-section__grid > div { position: sticky; inset-block-start: 125px; }
.refah-contact-form-section h2 { max-width: 520px; color: #fff; }
.refah-contact-form-section__grid > div > p { color: rgba(255,255,255,.62); }
.refah-contact-form-section .refah-entry-content { display: block; margin: 0; padding: 0; color: var(--refah-body); background: transparent; box-shadow: none; }
.refah-contact-form-section .refah-entry-content > :not(.refah-form) { display: none; }

@media (max-width:1180px) {
	body.home .refah-hero__copy h1 { max-width: 580px; }
	.refah-hero-action { grid-template-columns: 42px 1fr 18px; padding-inline: 14px; }
	.refah-home-service { min-height: 540px; padding: 22px; }
	.refah-program-story__chapter { grid-template-columns: 1fr 1fr; }
	.refah-partners__head { grid-template-columns: 1fr 1fr; }
	.refah-partners__head > a { justify-self: start; }
	.refah-governance-dashboard .refah-container { grid-template-columns: 1fr; gap: 45px; }
	.refah-contact-directory__grid > * { grid-column: span 6; }
	.refah-form-page .refah-entry-content { grid-template-columns: 1fr; padding-block-start: 145px; }
	.refah-form-page .refah-entry-content::after { width: 100%; height: 125px; }
}

@media (max-width:980px) {
	.refah-home-services { grid-template-columns: repeat(2,minmax(0,1fr)); border-radius: 0; }
	.refah-home-service--1,.refah-home-service--2,.refah-home-service--3 { grid-column: auto; min-height: 510px; border-radius: 0; }
	.refah-home-service--1 { grid-row: span 2; }
	.refah-program-story__heading,.refah-about-values__heading,.refah-about-goals__heading,.refah-program-guide__overview-grid,.refah-contact-directory__heading { grid-template-columns: 1fr; gap: 25px; }
	.refah-program-story__layout,.refah-program-guide__layout { grid-template-columns: 1fr; }
	.refah-program-story__navigator { position: relative; inset: auto; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
	.refah-program-story__navigator p,.refah-program-story__navigator a { grid-column: 1/-1; }
	.refah-program-story__chapter { position: relative; inset: auto !important; margin-block-end: 30px; }
	.refah-program-guide__index { position: relative; inset: auto; max-height: none; overflow: hidden; }
	.refah-program-guide__index nav { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
	.refah-program-guide__index a { flex: 0 0 230px; scroll-snap-align: start; }
	.refah-project-piece,.refah-project-piece.is-featured { grid-column: span 6; display: flex; min-height: 620px; }
	.refah-project-piece.is-featured .refah-project-piece__image { min-height: 360px; }
	.refah-campaign-gallery { grid-template-columns: 1fr 1fr; }
	.refah-campaign-poster,.refah-campaign-poster--1,.refah-campaign-poster--2,.refah-campaign-poster--3 { grid-column: auto; min-height: 620px; border-radius: 0; }
	.refah-governance-dashboard__metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.refah-governance-pillars article { grid-template-columns: 64px 1fr; }
	.refah-governance-pillars article p { grid-column: 2; }
	.refah-contact-form-section__grid { grid-template-columns: 1fr; }
	.refah-contact-form-section__grid > div { position: relative; inset: auto; }
}

@media (max-width:820px) {
	body.home .refah-hero__copy h1 { max-width: 680px; }
	.refah-audiences__layout { grid-template-columns: 1fr; }
	.refah-audiences__image--portrait { width: min(100%,520px); min-height: 680px; margin-inline: auto; }
	.refah-program-story__heading { margin-block-end: 65px; }
	.refah-program-story__chapter { grid-template-columns: 1fr; min-height: 0; }
	.refah-program-story__chapter figure { min-height: 420px; }
	.refah-program-story__chapter > div { padding: 36px 28px; }
	.refah-partners__head { grid-template-columns: 1fr; align-items: start; }
	.refah-value-band { grid-template-columns: 70px 1fr; gap: 18px; }
	.refah-value-band > p { grid-column: 2; }
	.refah-value-band__pulse { position: absolute; inset-inline-end: 16px; inset-block-start: 18px; }
	.refah-about-goals__canvas { grid-template-columns: 1fr; }
	.refah-about-goals__canvas > figure { min-height: 680px; }
	.refah-about-audiences__stage { gap: 12px; overflow: visible; border-radius: 0; }
	.refah-about-audience { min-height: 360px; border: 0; border-radius: 18px; }
	.refah-about-audience__content > span { inset-block-start: -225px; }
	.refah-program-guide__entry { grid-template-columns: 54px minmax(170px,210px) 1fr; gap: 18px; }
	.refah-impact-collection__intro { grid-template-columns: 1fr; gap: 24px; }
	.refah-contact-directory__meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width:600px) {
	.refah-hero-actions--expressive { grid-template-columns: 1fr; }
	.refah-hero-action__volunteer { grid-column: auto; }
	.refah-hero-action { min-height: 82px; border-radius: 9px 29px 9px 9px; }
	.refah-audiences__image--portrait { min-height: 560px; border-radius: 100px 12px 100px 12px; box-shadow: 16px 16px 0 rgba(79,193,173,.12); }
	.refah-home-services { grid-template-columns: 1fr; }
	.refah-home-service--1,.refah-home-service--2,.refah-home-service--3 { grid-row: auto; min-height: 480px; }
	.refah-home-service__copy p { -webkit-line-clamp: 3; }
	.refah-program-story { padding-block: 92px; }
	.refah-program-story__heading h2 { font-size: clamp(2.65rem,12vw,3.8rem); }
	.refah-program-story__chapter figure { min-height: 330px; }
	.refah-program-story__chapter { border-radius: 12px 52px 12px 12px; }
	.refah-news-feature { min-height: 560px; grid-template-rows: 300px auto; }
	.refah-news-feature__media { min-height: 300px; }
	.refah-news-feature__content { padding: 22px 18px; }
	.refah-partner-slide { flex-basis: calc(100vw - 66px); }
	.refah-about-values,.refah-about-goals { padding-block: 92px; }
	.refah-about-values__heading h2,.refah-about-goals__heading h2 { font-size: clamp(2rem,9vw,2.8rem); }
	.refah-program-guide__overview h2 { font-size: clamp(2.05rem,9.5vw,2.9rem); }
	.refah-contact-directory__heading h2 { font-size: clamp(2.35rem,11vw,3.5rem); }
	.refah-about-audiences .refah-about-audiences__heading { margin-block-end: 34px; }
	.refah-about-audience { min-height: 340px; }
	.refah-value-band { grid-template-columns: 50px 1fr; min-height: 190px; padding: 24px 8px; }
	.refah-value-band:hover { padding-inline: 8px; }
	.refah-value-band__number { font-size: 30px; }
	.refah-value-band__title { gap: 10px; }
	.refah-value-band__title i { width: 42px; height: 42px; }
	.refah-value-band h3 { font-size: 24px; }
	.refah-about-goals__canvas > figure { min-height: 560px; }
	.refah-about-goals__matrix { grid-template-columns: 1fr; }
	.refah-about-goals__matrix li { min-height: 155px; }
	.refah-program-guide__overview,.refah-program-guide__catalogue { padding-block: 78px; }
	.refah-program-guide__entry { grid-template-columns: 42px 1fr; padding-block: 28px; }
	.refah-program-guide__entry figure { grid-column: 2; width: 100%; height: 250px; }
	.refah-program-guide__entry > div:last-child { grid-column: 2; }
	.refah-program-guide__closing .refah-container { align-items: flex-start; flex-direction: column; }
	.refah-project-piece,.refah-project-piece.is-featured { grid-column: 1/-1; min-height: 580px; }
	.refah-campaign-gallery { grid-template-columns: 1fr; }
	.refah-campaign-poster,.refah-campaign-poster--1,.refah-campaign-poster--2,.refah-campaign-poster--3 { min-height: 570px; }
	.refah-form-page { padding-block: 54px; }
	.refah-form-page__mood { inset-block-start: 14px; }
	.refah-form-page .refah-entry-content { padding: 120px 12px 16px; border-radius: 10px 38px 10px 10px; }
	.refah-form-page .refah-entry-content::after { height: 105px; }
	.refah-governance-dashboard { padding-block: 70px; }
	.refah-governance-dashboard__metrics { grid-template-columns: 1fr 1fr; }
	.refah-governance-pillars { padding-block: 85px; }
	.refah-governance-pillars article { grid-template-columns: 46px 1fr; gap: 12px; min-height: 150px; padding-inline: 8px; }
	.refah-governance-pillars article:hover { padding-inline: 8px; }
	.refah-governance-pillars article h3 { font-size: 23px; }
	.refah-contact-directory { padding-block: 85px; }
	.refah-contact-directory__grid > * { grid-column: 1/-1; min-height: 140px; }
	.refah-contact-directory__meta p { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion:reduce) {
	.refah-hero-action,.refah-hero-action::before,.refah-home-service > img,.refah-news-feature img,.refah-partner-slide,.refah-value-band,.refah-program-guide__entry figure img,.refah-project-piece img,.refah-campaign-poster img { transition: none !important; }
	.refah-program-story__chapter { position: relative; inset: auto !important; }
}
