/* صفحة «تأسيس الاستدامة» (founding.html وfounding-en.html) — 2026-12-03
   بأسلوب كتيّب الرسالة التأسيسية (الأخضر الداكن والقوس واللوتس) وكتيّب دعوة شركاء التأسيس (العاجي والعنابي والأغصان) */
.hf{--teal:#0B4B47;--teal2:#0F6B65;--rose:#C05A71;--rose2:#F0C3CD;--cream:#F9F0EC;--wine:#4E1B26;--ink:#2B2B2B;--muted:#5D5752;color:var(--ink)}
.hf *{box-sizing:border-box}
.hf-wrap{max-width:1120px;margin:0 auto;padding:0 24px;position:relative}
.hf h1,.hf h2,.hf h3{font-family:'El Messiri',serif;font-weight:700;line-height:1.4;margin:0}
.hf-kicker{display:inline-block;font-size:13.5px;font-weight:700;color:var(--rose);margin-bottom:10px}
.hf-sec{padding:72px 0;position:relative;overflow:hidden;scroll-margin-top:112px}
.hf-sec h2{font-size:clamp(24px,3.2vw,32px);color:var(--teal);margin-bottom:14px}
.hf-sec p{font-size:16.5px;line-height:1.95;color:var(--muted);margin:0 0 12px}
.hf-cream{background:var(--cream)}
.hf-hero{background:var(--teal);color:#fff;padding:56px 0 64px;position:relative;overflow:hidden}
.hf-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:40px;align-items:center}
.hf-hero h1{font-size:clamp(30px,4.4vw,46px);color:#fff;margin:2px 0 14px}
.hf-hero .hf-kicker,.hf-close .hf-kicker,.hf-wine .hf-kicker{color:var(--rose2)}
.hf-lead{font-size:17px;line-height:1.95;color:rgba(255,255,255,.88);margin:0 0 18px;max-width:620px}
.hf-trust{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 22px;padding:0;list-style:none;font-size:13.5px;color:rgba(255,255,255,.82)}
.hf-trust li::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--rose2);margin-inline-end:8px;vertical-align:middle}
.hf-hero-art img{display:block;width:100%;max-width:400px;height:auto;margin-inline:auto}
.hf-progress{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:16px;padding:14px 18px;margin:0 0 18px;max-width:560px}
.hf-progress[hidden]{display:none}
.hf-progress-head,.hf-progress-foot{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;color:rgba(255,255,255,.85)}
.hf-progress-head b{font-size:21px;color:#fff;font-family:'El Messiri',serif}
.hf-bar{height:10px;border-radius:999px;background:rgba(255,255,255,.16);overflow:hidden;margin:10px 0 8px}
.hf-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,#E58FA3,var(--rose));border-radius:inherit;transition:width .9s ease}
.hf-pick{max-width:560px}
.hf-pick .hh-sahm{margin-bottom:12px}
.hf .hh-sahm-sum{margin:0 0 12px;font-size:14.5px;line-height:1.6;color:rgba(255,255,255,.92)}
.hf-pick .hh-sahm-go{display:block;text-align:center}
.hf-note{font-size:13px;color:rgba(255,255,255,.72);margin:12px 0 0;line-height:1.8}
.hf-hero .hh-more,.hf-close .hh-more,.hf-wine .hh-more{color:#fff}
.hf-split,.hf-grid2{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
.hf-grid2{align-items:start;gap:40px;margin-top:18px}
.hf-art img{display:block;width:100%;max-width:380px;height:auto;margin-inline:auto}
.hf-quote{margin:0 0 26px;font-family:'El Messiri',serif;font-size:clamp(22px,2.8vw,28px);color:var(--rose);line-height:1.6}
.hf-quote cite{display:block;margin-top:8px;font-family:'IBM Plex Sans Arabic',sans-serif;font-style:normal;font-size:14px;color:var(--muted)}
.hf .hh-more{display:inline-block;margin-top:4px}
.hf-year{border-inline-start:3px solid var(--rose2);padding-inline-start:20px}
.hf-year b{display:block;font-family:'El Messiri',serif;font-size:64px;line-height:1;color:var(--wine)}
.hf-year span{display:block;font-weight:700;color:var(--teal2);margin:10px 0 6px}
.hf-year p{font-size:15px}
.hf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:26px 0 18px}
.hf-stat,.hf-step,.hf-card{background:#fff;border:1px solid #EFE3DD;border-radius:18px;padding:22px}
.hf-stat b{display:block;font-family:'El Messiri',serif;font-size:40px;color:var(--teal);line-height:1.15}
.hf-stat span{display:block;font-weight:700;color:var(--ink);margin:6px 0}
.hf-stat p,.hf-step p{font-size:14.5px;margin:0}
.hf-sustain{background:#fff;border-radius:18px;padding:18px 22px;border-inline-start:4px solid var(--rose)}
.hf-sustain p{margin:0}
.hf-road{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}
.hf-step{border-top:4px solid var(--teal2)}
.hf-step:nth-child(2){border-top-color:var(--rose)}
.hf-step:nth-child(3){border-top-color:var(--wine)}
.hf-step b{font-family:'El Messiri',serif;font-size:28px;color:var(--teal)}
.hf-step h3{font-size:19px;color:var(--ink);margin:4px 0 8px}
.hf-wine{background:var(--wine);color:#fff}
.hf-wine h2{color:#fff}
.hf-wine p{color:rgba(255,255,255,.84)}
.hf-stack{display:flex;height:16px;border-radius:999px;overflow:hidden;margin:26px 0 22px;background:rgba(255,255,255,.1)}
.hf-stack i{display:block;height:100%}
.hf-c1{background:#E58FA3}.hf-c2{background:#F0C3CD}.hf-c3{background:#7FB5AC}.hf-c4{background:#E8D4C4}
.hf-alloc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hf-alloc-item{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.13);border-radius:16px;padding:18px 20px}
.hf-alloc-item b{display:flex;align-items:center;gap:10px;font-family:'El Messiri',serif;font-size:30px;line-height:1.1;color:#fff}
.hf-alloc-item b i{width:12px;height:12px;border-radius:50%;flex:none}
.hf-alloc-item span{display:block;font-weight:700;color:#fff;margin:8px 0 4px}
.hf-alloc-item p{margin:0;font-size:14.5px}
.hf-wine p.hf-small{font-size:13.5px;color:rgba(255,255,255,.72);margin-top:20px}
.hf-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.hf-card h3{font-size:19px;color:var(--teal);margin-bottom:8px}
.hf-card p{font-size:15px;margin:0 0 8px}
.hf-iban{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:4px}
.hf-iban code{direction:ltr;unicode-bidi:isolate;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:14px;background:var(--cream);border-radius:10px;padding:8px 12px;color:var(--wine)}
.hf-copy{border:1px solid var(--teal2);background:#fff;color:var(--teal2);border-radius:999px;padding:6px 14px;font:inherit;font-size:13.5px;cursor:pointer}
.hf-copy:hover{background:var(--teal2);color:#fff}
.hf-branch{position:absolute;pointer-events:none;height:auto}
.hf-branch-a{top:14px;inset-inline-end:2%;width:150px}
.hf-branch-b{bottom:-6px;inset-inline-start:1%;width:190px}
.hf-narrow{max-width:760px;margin:0 auto;text-align:center;position:relative}
.hf-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;margin-top:18px}
.hf-close{background:var(--teal);color:#fff;text-align:center}
.hf-ayah{font-family:'El Messiri',serif;font-size:clamp(24px,3.4vw,34px);color:#fff;line-height:1.7;margin:4px 0}
.hf-ayah-ref{display:block;font-size:13.5px;color:rgba(255,255,255,.7);margin-bottom:14px}
.hf-close p{color:rgba(255,255,255,.86)}
@media (max-width:860px){
  .hf-sec{padding:52px 0}
  .hf-hero{padding:32px 0 44px}
  .hf-hero-grid,.hf-split,.hf-grid2{grid-template-columns:1fr;gap:24px}
  .hf-hero-art{order:-1}
  .hf-hero-art img{max-width:210px}
  .hf-art img{max-width:250px}
  .hf-stats,.hf-road,.hf-alloc,.hf-cards{grid-template-columns:1fr}
  .hf-branch{opacity:.45}
  .hf-branch-a{width:96px}.hf-branch-b{width:120px}
  .hf-year b{font-size:52px}
}
